Closed Fizzef closed 2 years ago
I'm really struggling to recreate this issue on both a Windows and macOS with the same version of R and worldfootballR
....
I'll leave this issue open to see if anyone else has experienced this.
@Fizzef can you print out your sessionInfo()
? mine looks like this
> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] tidyr_1.2.0 dplyr_1.0.7 testthat_3.0.4 worldfootballR_0.4.10.4000
loaded via a namespace (and not attached):
[1] Rcpp_1.0.7 lubridate_1.7.10 prettyunits_1.1.1 ps_1.6.0 assertthat_0.2.1 rprojroot_2.0.2 digest_0.6.28
[8] utf8_1.2.2 R6_2.5.1 backports_1.2.1 reprex_2.0.1 evaluate_0.14 highr_0.9 httr_1.4.2
[15] pillar_1.6.4 rlang_0.4.11 progress_1.2.2 curl_4.3.2 rstudioapi_0.13 callr_3.7.0 rmarkdown_2.11
[22] styler_1.5.1 desc_1.3.0 devtools_2.4.2 readr_2.1.0 stringr_1.4.0 compiler_4.1.1 janitor_2.1.0
[29] xfun_0.25 pkgconfig_2.0.3 qdapRegex_0.7.2 pkgbuild_1.2.0 clipr_0.7.1 htmltools_0.5.2 tidyselect_1.1.1
[36] tibble_3.1.4 roxygen2_7.1.2 fansi_0.5.0 crayon_1.4.2 tzdb_0.2.0 withr_2.4.2 waldo_0.3.0
[43] jsonlite_1.7.2 lifecycle_1.0.1 DBI_1.1.1 magrittr_2.0.1 cli_3.0.1 stringi_1.7.4 cachem_1.0.6
[50] fs_1.5.0 remotes_2.4.0 snakecase_0.11.0 xml2_1.3.2 ellipsis_0.3.2 generics_0.1.1 vctrs_0.3.8
[57] tools_4.1.1 rcmdcheck_1.3.3 glue_1.4.2 purrr_0.3.4 hms_1.1.1 yaml_2.2.1 processx_3.5.2
[64] pkgload_1.2.1 fastmap_1.1.0 xopen_1.0.0 sessioninfo_1.1.1 rvest_1.0.1 memoise_2.0.0 knitr_1.34
[71] usethis_2.0.1
i think it's probably a dependency version issue, but i'm not totally sure
When I try to get data into a dataframe like this:
library(worldfootballR) test <- fotmob_get_league_matches(league_id = 38)
I got this error:
Error in View : arguments suggest different number of rows: 192, 0
I have the 04.10.3000 version of worldfotballR, 1.2.0 version of tidyr, 64-bit Windows 10, R version 4.1.3
When I change "test" into a list and then dataframe again I can view it, but I have extra 191 columns "lname_arr.c..A.......undefined..." with values "A" or "undefined"