-
Notifications
You must be signed in to change notification settings - Fork 4
/
.build-steps.R
36 lines (26 loc) · 890 Bytes
/
.build-steps.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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()