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 May 4, 2023, 9:11 a.m.