tic.R

# installs dependencies, runs R CMD check, runs covr::codecov()
do_package_checks(args = c("--as-cran", "--no-manual", "--no-build-vignettes"))

if (ci_on_ghactions() && ci_has_env("BUILD_PKGDOWN")) {
  # creates pkgdown site and pushes to gh-pages branch
  # only for the runner with the "BUILD_PKGDOWN" env var set
  get_stage("install") %>%
    add_step(step_install_github("mlr-org/mlr3pkgdowntemplate"))
  do_pkgdown()
}
mlr-org/mlr3keras documentation built on April 12, 2022, 11:35 a.m.