Skip to content

Commit ddba306

Browse files
refactor
1 parent 8895482 commit ddba306

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

R/testing.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,8 @@ test_transformers_drop <- function(transformers) {
380380

381381

382382
skip_during_parallel <- function() {
383-
is_parallel <- as.logical(as.logical(toupper(Sys.getenv("STYLER_TEST_IS_TRULY_PARALLEL", TRUE))))
384-
testthat::skip_if(is_parallel)
383+
Sys.getenv("STYLER_TEST_IS_TRULY_PARALLEL", TRUE) %>%
384+
toupper() %>%
385+
as.logical() %>%
386+
testthat::skip_if()
385387
}

0 commit comments

Comments
 (0)