abresler/nbastatR

agents_players() throws error

Opened this issue · 0 comments

Hi Alex,
Thanks for this package; i love it.

Threw an error as follows:

a<-agents_players(agents = "Jeff Schwartz")
Error in stop_arrange_transmute():
! arrange() failed at implicit mutate() step.
x Could not create a temporary column for ..1.
i ..1 is nameAgent.
Run rlang::last_error() to see where the error occurred.
rlang::last_error()
<error/rlang_error>
Error in stop_arrange_transmute():
! arrange() failed at implicit mutate() step.
x Could not create a temporary column for ..1.
i ..1 is nameAgent.


Backtrace:

  1. nbastatR::agents_players(agents = "Jeff Schwartz")
  2. dplyr <fn>(<dplyr_rr>)
  3. dplyr:::stop_arrange_transmute(cnd)
    Run rlang::last_trace() to see the full context.

sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] forcats_0.5.0 stringr_1.4.0 readr_1.3.1 tidyr_1.1.1
[5] tibble_3.1.6 tidyverse_1.3.0 gt_0.2.2 purrr_0.3.4
[9] ggplot2_3.3.2 dplyr_1.0.1 expss_0.10.6 nbastatR_0.1.151

loaded via a namespace (and not attached):
[1] Rcpp_1.0.8.3 lubridate_1.8.0 listenv_0.8.0
[4] assertthat_0.2.1 digest_0.6.29 utf8_1.2.2
[7] parallelly_1.32.1 R6_2.5.1 cellranger_1.1.0
[10] backports_1.1.7 reprex_0.3.0 httr_1.4.2
[13] pillar_1.8.0 rlang_1.0.2 curl_4.3.2
[16] readxl_1.3.1 rstudioapi_0.11 data.table_1.13.0
[19] furrr_0.3.1 blob_1.2.1 checkmate_2.0.0
[22] labeling_0.3 selectr_0.4-2 foreign_0.8-80
[25] htmlwidgets_1.5.4 munsell_0.5.0 broom_0.7.0
[28] compiler_4.0.2 modelr_0.1.8 xfun_0.30
[31] pkgconfig_2.0.3 globals_0.16.0 htmltools_0.5.2
[34] tidyselect_1.1.2 htmlTable_2.0.1 codetools_0.2-16
[37] matrixStats_0.56.0 fansi_1.0.3 future_1.27.0
[40] crayon_1.5.1 dbplyr_1.4.4 withr_2.2.0
[43] grid_4.0.2 jsonlite_1.8.0 gtable_0.3.0
[46] lifecycle_1.0.1 DBI_1.1.0 magrittr_2.0.3
[49] scales_1.1.1 cli_3.2.0 stringi_1.7.6
[52] farver_2.1.0 fs_1.5.0 xml2_1.3.2
[55] ellipsis_0.3.2 generics_0.1.3 vctrs_0.4.1
[58] tools_4.0.2 glue_1.6.2 hms_0.5.3
[61] parallel_4.0.2 fastmap_1.1.0 colorspace_1.4-1
[64] rvest_0.3.6 memoise_1.1.0 knitr_1.39
[67] haven_2.3.1