tic.R

do_package_checks()

if (Sys.getenv("DEV_VERSIONS") != "") {
  get_stage("install") %>%
    add_step(step_install_github(c("r-lib/rlang", "r-lib/vctrs")))
}

if (Sys.getenv("BUILD_PKGDOWN") != "" && ci()$get_branch() == "master") {
  get_stage("before_deploy") %>%
    add_step(step_setup_ssh())

  get_stage("deploy") %>%
    add_step(step_setup_push_deploy(path = "docs", branch = "gh-pages")) %>%
    add_step(step_build_pkgdown(run_dont_run = TRUE)) %>%
    add_step(step_do_push_deploy(path = "docs"))
}
earowang/mists documentation built on Sept. 21, 2019, 1:12 p.m.