.build-steps.R

Sys.setenv(RGL_USE_NULL = TRUE)

# get list of possibly misspelled words
wds <- spelling::spell_check_package()
cat(paste(wds[, "word"], collapse = "\n"))
# to add all words
update_wordlist()

# check reverse dependencies
devtools::revdep()
# [1] "Guerry"               "heplots"              "KnowBR"               "MorphoTools2"        
# [5] "MultivariateAnalysis" "smacof"               "SurveyCC"

# revdep
# > packageVersion("revdepcheck")
# [1] ‘1.0.0.9001’
remotes::install_github("r-lib/revdepcheck")

#library(revdepcheck)
# need to set the env variable R_BIOC_VERSION env var to 3.18.
# per: https://github.com/r-lib/revdepcheck/issues/376

Sys.setenv(R_BIOC_VERSION = 3.18)
revdepcheck::revdep_check(num_workers = 4)


library(devtools)

# prepare pkgdown site
build_readme()
pkgdown::build_site()

devtools::build()
devtools::build_vignettes()

devtools::check_win_devel()
friendly/candisc documentation built on June 10, 2025, 9:49 a.m.