inst/scripts/check_revdep.R

# check reverse dependencies

library(devtools)
rev_pkgs <- revdep("Lahman")

# > rev_pkgs
# [1] "baseballDBR"   "broom"         "dados"         "datos"         "dbplyr"        "dplyr"         "ibawds"        "implyr"       
# [9] "mdsr"          "pinnacle.data" "raw"           "sparklyr"      "teamcolors"  

# devtools::revdep_check() - deprecated

# see: https://github.com/r-lib/revdepcheck

#source("https://install-github.me/r-lib/revdepcheck")
revdepcheck::revdep_check()

# or maybe
usethis::use_revdep()

Try the Lahman package in your browser

Any scripts or data that you put into this service are public.

Lahman documentation built on Sept. 27, 2024, 1:06 a.m.