tools/deploy_tutorials_on_local.R

if (!requireNamespace("remotes")) {
  install.packages("remotes")
}
remotes::install_cran("callr")

# call in separate / non-interactive process
#   to avoid local dev version to be loaded and confuse packrat
callr::r(
  function() {
    source("tools/deploy_tutorials.R")
  },
  show = TRUE
)
rstudio/learnr documentation built on Sept. 6, 2024, 11:06 p.m.