# Configuration -----------------------------------------------------------
Sys.setenv(`_R_DEPENDS_ONLY` = "true")
# Setup -------------------------------------------------------------------
remotes::install_cran(c("devtools", "urlchecker", "rhub", "revdepcheck"))
# remotes::install_github("r-lib/revdepcheck@master")
# Printing Code -----------------------------------------------------------
# Lint the package
(report = lintr::lint_package(show_progress = TRUE))
styler::style_pkg(
filetype = c("R", "Rprofile", "Rmd", "Rmarkdown", "Rnw", "qmd")[c(1,3)],
exclude_dirs = c("packrat", "renv", ".dev", ".git", ".github", ".Rproj.user", "docs", "inst"),
include_roxygen_examples = TRUE,
)
# Steps -------------------------------------------------------------------
# devtools::build_readme()
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 8)
# revdepcheck::revdep_reset(pkg = ".")
# Deployment --------------------------------------------------------------
# devtools::submit_cran()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.