Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Oct 16, 2022
1 parent 8895482 commit ddba306
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/testing.R
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ test_transformers_drop <- function(transformers) {


skip_during_parallel <- function() {
is_parallel <- as.logical(as.logical(toupper(Sys.getenv("STYLER_TEST_IS_TRULY_PARALLEL", TRUE))))
testthat::skip_if(is_parallel)
Sys.getenv("STYLER_TEST_IS_TRULY_PARALLEL", TRUE) %>%
toupper() %>%
as.logical() %>%
testthat::skip_if()
}

0 comments on commit ddba306

Please sign in to comment.