inst/check_and_release.R

devtools::check_rhub(interactive = FALSE)

# For windows if it fails with i.e. "there is no package called 'utf8'"
# rhub::check(
#   platform="windows-x86_64-devel",
#   env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always")
# )

# rhub tests on windows (?) but builds locally, `check_win()` also builds on
# windows
devtools::check_win_release()

# reverse dependency check ----

#remotes::install_github("r-lib/revdepcheck")
library(revdepcheck)
revdep_reset()
revdep_check(num_workers = 8)

# submit to cran ----

devtools::release()

Try the egor package in your browser

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

egor documentation built on March 31, 2023, 11:33 p.m.