elishayer / mRchmadness

NCAA men's basketball data scraping and bracketology R package
18 stars 10 forks source link

mRchmadness::current.year == 2021 #43

Closed jpbranson closed 1 year ago

jpbranson commented 1 year ago

I believe I've updated to the latest version of the package by installing from GitHub (1.0.5?) - I'm still getting 2021 from mRchmadness::current.year

─ Session info ─────────────────────────────────────────────────
 setting  value
 version  R version 4.2.1 (2022-06-23)
 os       macOS Monterey 12.6.3
 system   x86_64, darwin17.0
 ui       RStudio
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       America/Chicago
 date     2023-03-13
 rstudio  2022.12.0+353 Elsbeth Geranium (desktop)
 pandoc   NA

─ Packages ──────────────────────────────────────────────────
 ! package     * version date (UTC) lib source
   bslib         0.4.2   2022-12-16 [1] CRAN (R 4.2.0)
 V cachem        1.0.6   2023-02-24 [1] CRAN (R 4.2.0) (on disk 1.0.7)
   callr         3.7.3   2022-11-02 [1] CRAN (R 4.2.0)
   cli           3.6.0   2023-01-09 [1] CRAN (R 4.2.0)
   clipr         0.8.0   2022-02-22 [1] CRAN (R 4.2.0)
   codetools     0.2-19  2023-02-01 [1] CRAN (R 4.2.0)
   crayon        1.5.2   2022-09-29 [1] CRAN (R 4.2.0)
   curl          5.0.0   2023-01-12 [1] CRAN (R 4.2.0)
   desc          1.4.2   2022-09-08 [1] CRAN (R 4.2.0)
   devtools      2.4.5   2022-10-11 [1] CRAN (R 4.2.0)
   digest        0.6.31  2022-12-11 [1] CRAN (R 4.2.0)
   dplyr         1.1.0   2023-01-29 [1] CRAN (R 4.2.0)
   ellipsis      0.3.2   2021-04-29 [1] CRAN (R 4.2.0)
   fansi         1.0.4   2023-01-22 [1] CRAN (R 4.2.0)
 V fastmap       1.1.0   2023-02-24 [1] CRAN (R 4.2.0) (on disk 1.1.1)
   foreach       1.5.2   2022-02-02 [1] CRAN (R 4.2.0)
   fs            1.6.1   2023-02-06 [1] CRAN (R 4.2.0)
   generics      0.1.3   2022-07-05 [1] CRAN (R 4.2.0)
   glmnet        4.1-6   2022-11-27 [1] CRAN (R 4.2.0)
   glue          1.6.2   2022-02-24 [1] CRAN (R 4.2.0)
   htmltools     0.5.4   2022-12-07 [1] CRAN (R 4.2.1)
   htmlwidgets   1.6.1   2023-01-07 [1] CRAN (R 4.2.0)
   httpuv        1.6.9   2023-02-14 [1] CRAN (R 4.2.0)
   iterators     1.0.14  2022-02-05 [1] CRAN (R 4.2.0)
   jquerylib     0.1.4   2021-04-26 [1] CRAN (R 4.2.0)
   jsonlite      1.8.4   2022-12-06 [1] CRAN (R 4.2.1)
   later         1.3.0   2021-08-18 [1] CRAN (R 4.2.0)
   lattice       0.20-45 2021-09-22 [1] CRAN (R 4.2.1)
   lifecycle     1.0.3   2022-10-07 [1] CRAN (R 4.2.0)
   magrittr      2.0.3   2022-03-30 [1] CRAN (R 4.2.0)
   Matrix        1.5-3   2022-11-11 [1] CRAN (R 4.2.0)
   memoise       2.0.1   2021-11-26 [1] CRAN (R 4.2.0)
   mime          0.12    2021-09-28 [1] CRAN (R 4.2.0)
   miniUI        0.1.1.1 2018-05-18 [1] CRAN (R 4.2.0)
   mRchmadness   1.0.5   2023-03-13 [1] Github (elishayer/mRchmadness@066d790)
   pillar        1.8.1   2022-08-19 [1] CRAN (R 4.2.0)
   pkgbuild      1.4.0   2022-11-27 [1] CRAN (R 4.2.0)
   pkgconfig     2.0.3   2019-09-22 [1] CRAN (R 4.2.0)
   pkgload       1.3.2   2022-11-16 [1] CRAN (R 4.2.0)
   prettyunits   1.1.1   2020-01-24 [1] CRAN (R 4.2.0)
   processx      3.8.0   2022-10-26 [1] CRAN (R 4.2.0)
   profvis       0.3.7   2020-11-02 [1] CRAN (R 4.2.0)
   promises      1.2.0.1 2021-02-11 [1] CRAN (R 4.2.0)
   ps            1.7.2   2022-10-26 [1] CRAN (R 4.2.0)
   purrr         1.0.1   2023-01-10 [1] CRAN (R 4.2.0)
   R6            2.5.1   2021-08-19 [1] CRAN (R 4.2.0)
   ragg          1.2.5   2023-01-12 [1] CRAN (R 4.2.0)
   Rcpp          1.0.10  2023-01-22 [1] CRAN (R 4.2.0)
   remotes       2.4.2   2021-11-30 [1] CRAN (R 4.2.0)
   rlang         1.0.6   2022-09-24 [1] CRAN (R 4.2.0)
   rprojroot     2.0.3   2022-04-02 [1] CRAN (R 4.2.0)
   rsconnect     0.8.29  2023-01-09 [1] CRAN (R 4.2.0)
   rstudioapi    0.14    2022-08-22 [1] CRAN (R 4.2.0)
   sass          0.4.5   2023-01-24 [1] CRAN (R 4.2.0)
   sessioninfo   1.2.2   2021-12-06 [1] CRAN (R 4.2.0)
   shape         1.4.6   2021-05-19 [1] CRAN (R 4.2.0)
   shiny       * 1.7.4   2022-12-15 [1] CRAN (R 4.2.0)
   stringi       1.7.12  2023-01-11 [1] CRAN (R 4.2.0)
   stringr       1.5.0   2022-12-02 [1] CRAN (R 4.2.0)
   survival      3.5-3   2023-02-12 [1] CRAN (R 4.2.0)
   systemfonts   1.0.4   2022-02-11 [1] CRAN (R 4.2.0)
   textshaping   0.3.6   2021-10-13 [1] CRAN (R 4.2.0)
 V tibble        3.1.8   2023-03-08 [1] CRAN (R 4.2.0) (on disk 3.2.0)
   tidyselect    1.2.0   2022-10-10 [1] CRAN (R 4.2.0)
   urlchecker    1.0.1   2021-11-30 [1] CRAN (R 4.2.0)
   usethis       2.1.6   2022-05-25 [1] CRAN (R 4.2.0)
   utf8          1.2.3   2023-01-31 [1] CRAN (R 4.2.0)
   vctrs         0.5.2   2023-01-23 [1] CRAN (R 4.2.0)
   withr         2.5.0   2022-03-03 [1] CRAN (R 4.2.0)
   xtable        1.8-4   2019-04-21 [1] CRAN (R 4.2.0)

 [1] /Library/Frameworks/R.framework/Versions/4.2/Resources/library

 V ── Loaded and on-disk version mismatch. 
saberpowers commented 1 year ago

Interesting! It sure looks like you've got the correct version installed (commit 066d790). Does your package contain new data, like mRchmadness::bracket.women.2023?

jpbranson commented 1 year ago

Sorry, was a bit too hasty with submitting an issue. Restarted R session again, cleared environment, loaded package - everything works great!

saberpowers commented 1 year ago

No worries! This issue highlights the need for better versioning, which we'll work on improving. I didn't update the version number with the update this year, and that would have made the problem immediately obvious.