tic.R

do_package_checks(error_on = "error", repos = repo_bioc())

if (Sys.getenv("id_rsa") != "" && !ci()$is_tag()) {
  # pkgdown documentation can be built optionally. Other example criteria:
  # - `inherits(ci(), "TravisCI")`: Only for Travis CI
  # - `Sys.getenv("BUILD_PKGDOWN") != ""`: If the env var "BUILD_PKGDOWN" is set
  # - `Sys.getenv("TRAVIS_EVENT_TYPE") == "cron"`: Only for Travis cron jobs
  get_stage("before_deploy") %>%
    add_step(step_setup_ssh())

  # get_stage("deploy") %>%
  #   add_step(step_build_pkgdown()) %>%
  #   add_step(step_push_deploy(path = "docs", branch = "gh-pages"))
}
sa-lee/superintronic documentation built on Feb. 18, 2020, 10:36 a.m.