Skip to content

Commit 8739fd6

Browse files
committed
do not run model on GH actions
1 parent 8416e41 commit 8739fd6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

vignettes/workflow_120min_40mm.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ psi_s_mm <- function(kf_mmh) (3.237 * (kf_mmh/25.4)^(-0.328)) * 25.4
139139

140140
### Run Model
141141

142-
```{r run_model, eval = TRUE}
142+
```{r run_model, eval = !is_ghactions}
143143
# Number of cores for parallel processing (or: automatic)
144144
#future::plan(future::multisession, workers = parallel::detectCores() - 1)
145145

vignettes/workflow_eisenstadt-2005.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ knitr::opts_chunk$set(
1212
collapse = TRUE,
1313
comment = "#>"
1414
)
15-
#is_ghactions <- identical(Sys.getenv("CI"), "true")
16-
is_ghactions <- FALSE
15+
is_ghactions <- identical(Sys.getenv("CI"), "true")
16+
#is_ghactions <- FALSE
1717
```
1818

1919
### Define Paths and Scenarios
@@ -149,7 +149,7 @@ psi_s_mm <- function(kf_mmh) (3.237 * (kf_mmh/25.4)^(-0.328)) * 25.4
149149

150150
### Run Model
151151

152-
```{r run_model, eval = TRUE}
152+
```{r run_model, eval = !is_ghactions}
153153
debug <- TRUE
154154
#Number of cores for parallel processing (or: automatic)
155155
future::plan(future::multisession, workers = parallel::detectCores())

0 commit comments

Comments
 (0)