Skip to content

ff_league() - Error in while (prev != "0") { : argument is of length zero #303

@tanho63

Description

@tanho63

As submitted by Alb:

conn3 <- sleeper_connect(season = 2021, league_id = 650062983199842304)
ff_league(conn3)

Error in while (prev != "0") { : argument is of length zero

Seems like a locale/regional/encoding issue? Weird. Could not immediately reproduce error. Hypothesis: Australia thing?

sessionInfo()
R version 4.0.4 (2021-02-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252    LC_MONETARY=English_Australia.1252
[4] LC_NUMERIC=C                       LC_TIME=English_Australia.1252

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

other attached packages:
 [1] ffscrapr_1.4.3       ffsimulator_0.2.0.01 hrbrthemes_0.8.0     nflfastR_4.1.0       ggimage_0.2.8
 [6] ggrepel_0.9.1        forcats_0.5.1        stringr_1.4.0        dplyr_1.0.6          purrr_0.3.4
[11] readr_1.4.0          tidyr_1.1.3          tibble_3.1.2         ggplot2_3.3.3        tidyverse_1.3.1
loaded via a namespace (and not attached):
 [1] colorspace_2.0-1    ellipsis_0.3.2      ggridges_0.5.3      rprojroot_2.0.2     snakecase_0.11.0
 [6] fs_1.5.0            rstudioapi_0.13     listenv_0.8.0       furrr_0.2.3         farver_2.1.0
[11] remotes_2.4.0       fastrmodels_1.0.2   fansi_0.5.0         lubridate_1.7.10    xml2_1.3.2
[16] codetools_0.2-18    splines_4.0.4       extrafont_0.17      cachem_1.0.5        knitr_1.33
[21] jsonlite_1.7.2      ratelimitr_0.4.1    broom_0.7.7         Rttf2pt1_1.3.8      dbplyr_2.1.1
[26] BiocManager_1.30.15 compiler_4.0.4      httr_1.4.2          rvcheck_0.1.8       backports_1.2.1
[31] assertthat_0.2.1    Matrix_1.3-2        fastmap_1.1.0       cli_3.0.0           htmltools_0.5.1.1
[36] prettyunits_1.1.1   tools_4.0.4         gtable_0.3.0        glue_1.4.2          Rcpp_1.0.6
[41] slam_0.1-48         cellranger_1.1.0    vctrs_0.3.8         nlme_3.1-152        progressr_0.8.0
[46] extrafontdb_1.0     xfun_0.23           globals_0.14.0      ps_1.6.0            rvest_1.0.0
[51] lifecycle_1.0.0     future_1.21.0       scales_1.1.1        hms_1.1.0           parallel_4.0.4
[56] curl_4.3.1          memoise_2.0.0       gdtools_0.2.3       stringi_1.6.2       checkmate_2.0.0
[61] pkgbuild_1.2.0      rlang_0.4.11        pkgconfig_2.0.3     systemfonts_1.0.2   evaluate_0.14
[66] lattice_0.20-41     tidyselect_1.1.1    processx_3.5.2      parallelly_1.26.1   plyr_1.8.6
[71] magrittr_2.0.1      R6_2.5.0            magick_2.7.2        generics_0.1.0      DBI_1.1.1
[76] pillar_1.6.1        haven_2.4.1         withr_2.4.2         mgcv_1.8-33         janitor_2.1.0
[81] modelr_0.1.8        crayon_1.4.1        Rglpk_0.6-4         xgboost_1.4.1.1     utf8_1.2.1
[86] rmarkdown_2.9       usethis_2.0.1       grid_4.0.4          readxl_1.3.1        data.table_1.14.0
[91] callr_3.7.0         reprex_2.0.0        digest_0.6.27       gridGraphics_0.5-1  munsell_0.5.0
[96] ggplotify_0.0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions