Skip to content

Commit

Permalink
No parallelization in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 21, 2020
1 parent 77806a3 commit e8615e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/transform-files.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ transform_files <- function(files, transformers, include_roxygen_examples, base_
cat("Styling ", len_files, " files:\n")
}

if (rlang::is_installed("furrr")) {
if (!identical(Sys.getenv("TESTTHAT"), "true") && rlang::is_installed("furrr")) {
if (inherits(future::plan(), "uniprocess")) {
local_options(future.supportsMulticore.unstable = "quiet")
oplan <- future::plan("multiprocess")
Expand Down

0 comments on commit e8615e8

Please sign in to comment.