scripts/build.R

roxygen2md::roxygen2md()

transformers <- styler::tidyverse_style(strict = FALSE)
transformers$space$add_space_after_for_if_while <- NULL
styler::style_pkg(transformers = transformers, filetype = c("R", "Rprofile", "Rmd"))

devtools::test()
devtools::document()
# knitr::knit("README.Rmd")
if(FALSE) {
  if(file.exists("DESCRIPTION")) unlink("docs", recursive = TRUE)
  pkgdown::build_site()
}
devtools::check()
bcgov/shinywqg documentation built on June 9, 2025, 2:42 a.m.