if (packageVersion("devtools") < "2.0.1") {
library("devtools")
revdep_check(env_vars = c(DISPLAY = ":0"))
revdep_check_save_summary()
revdep_check_print_problems()
} else {
#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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.