-
-
Notifications
You must be signed in to change notification settings - Fork 404
/
tic.R
23 lines (20 loc) · 703 Bytes
/
tic.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if (Sys.info()[["sysname"]] != "Windows") {
get_stage("script") %>%
add_code_step(RWeka::WPM("refresh-cache")) %>%
add_code_step(RWeka::WPM("install-package", "XMeans"))
}
# R CMD Check
do_package_checks(error_on = "warning", codecov = FALSE)
# pkgdown
if (ci_on_ghactions() && ci_has_env("BUILD_PKGDOWN")) {
get_stage("before_deploy") %>%
add_step(step_install_github("mlr-org/mlr3pkgdowntemplate")) %>%
add_step(step_install_cran("GGally"))
do_pkgdown()
}
if (ci_is_env("CODECOV", "true")) {
get_stage("after_success") %>%
add_code_step(RWeka::WPM("refresh-cache")) %>%
add_code_step(RWeka::WPM("install-package", "XMeans")) %>%
add_code_step(covr::codecov())
}