Check all nflverse packages for available cran updates.
Usage
nflverse_update(recursive = FALSE, repos = getOption("repos"), devel = FALSE)Arguments
- recursive
- If - TRUE, will also list all strong dependencies of nflverse packages.
- repos
- the repositories to use to check for updates. Defaults to - getOptions("repos").
- devel
- If - TRUEthe function will look for prebuilt development versions on https://nflverse.r-universe.dev/ so it is possible to install development versions without GitHub.
Examples
# \donttest{
try(
nflverse_update()
)
#> ✔ All nflverse packages are up-to-date!
try(
nflverse_update(devel = TRUE)
)
#> ℹ The following packages are out of date:
#> • nfl4th   (1.0.4 -> 1.0.4.9005)
#> • nflfastR (5.1.0 -> 5.1.0.9002)
#> • nflplotR (1.4.0 -> 1.4.0.9003)
#> • nflreadr (1.4.1 -> 1.4.1.9   )
#> • nflseedR (2.0.0 -> 2.0.0.9000)
#> ── Start a clean R session then run ────────────────────────────────────────────
#> options(repos = c(
#>         nflverse = "https://nflverse.r-universe.dev",
#>         getOption("repos")
#>       ))
#> install.packages(c("nfl4th", "nflfastR", "nflplotR", "nflreadr", "nflseedR"))
#> ────────────────────────────────────────────────────────────────────────────────
# }
