revdep/check.R

options(repos = c(CRAN = 'https://cloud.r-project.org'))

#devtools::install_github("r-lib/revdepcheck")
library("revdepcheck")

revdepcheck::revdep_reset()
revdepcheck::revdep_check(num_workers = getOption("Ncpus", 4), timeout = 30*60) ## 30 mins
revdepcheck::revdep_report_cran() ## update cran-comments with this output

### email maintainers of revdep packages (need to edit: `revdep/email.yml`)
#revdep_email(type = "broken") ## will send via gmail
#revdep_email(type = "failed") ## will send via gmail
PredictiveEcology/SpaDES documentation built on April 17, 2024, 6:36 p.m.