tools/build_docs.R

callr::r(
  function() {

    # compile readme
    # rmarkdown::render("README.Rmd", rmarkdown::github_document(html_preview = FALSE))

    # compile website
    setwd("docs")
    unlink("site_libs", recursive = TRUE)
    rmarkdown::render_site(encoding = 'UTF-8')
  },
  show = TRUE
)
PaulESantos/pftctutor documentation built on March 31, 2020, 12:56 a.m.