check_build_zelig.R

# Check and build Zelig

# Ensure that pkgdown and IQSSDevtools is installed
if(!('pkgdown' %in% installed.packages()[, 1])) {
    devtools::install_github('hadley/pkgdown')
}

if(!('IQSSdevtools' %in% installed.packages()[, 1])) {
    devtools::install_github('IQSS/IQSSdevtools')
}


# Check and build package and website
#-- Roxygen is only used for user documentation, not collating and building
#--   NAMESPACE
#-- Vignettes are used to construct the website, but do to CRAN file size
#--   constraints are not included with the package source build.
library(IQSSdevtools)
build_iqss_package(rdocs_args = "rd", build_args = "--no-build-vignettes",
                   website_lazy = TRUE, git_commit = FALSE)
IQSS/Zelig documentation built on Dec. 11, 2023, 1:51 a.m.