Closed rplainsw closed 3 years ago
Hmm! Can you run library(nflreadr)
and then paste sessionInfo()
again?
Restarting R session...
library(nflreadr) sessionInfo() R version 4.1.0 (2021-05-18) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 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] nflreadr_1.0.0
loaded via a namespace (and not attached): [1] compiler_4.1.0 fastmap_1.1.0 tools_4.1.0 memoise_2.0.0 cachem_1.0.5 rlang_0.4.11
Hmm, it looks like qs isn't installed properly on your machine... what happens with install.packages("qs")
?
I installed library(qs), still not working. Is that the only one with qs? I've tested several of the other funcitons, load_pbp() is the only one not working. They warning message is still the same.
Hmm, I'm surprised it let you install the package with qs being broken.
You can work around this by specifying rds:
nflreadr::load_pbp(seasons = 2020, file_type = "rds")
or using
options(nflreadr.prefer = "rds")
and then running load_pbp()
Thank you that works! Not sure what is up with qs, it didn't work on another machine either
Great!
I am having the same issue running nflreadr::load_pbp(1999:2022)
for each year. A colleague of mine is able to run successfully. I followed all steps above but I am still receiving the same error.
Can you please open a new GitHub ticket and provide all parts of the form, including sitrep? https://github.com/nflverse/nflreadr/issues/new/choose
Describe the bug A clear and concise description of what the bug is.
Reprex
Created on 2021-08-09 by the reprex package (v2.0.0)
Expected behavior Issue trying to load in pbp_data. This was my first attempt at using nflreadr.
Session information
Created on 2021-08-09 by the reprex package (v2.0.0)
First time submitting an issue, so apologies if I am missing anything but happy to include whatever else is needed.