Skip to content

Commit c30df97

Browse files
committed
Stop using outfile in parLapply parallelism
We give up console output for parLapply parallelism, but it was a hack anyway (futureverse/future#171). The output could not be captured by capture.output()
1 parent 251d8da commit c30df97

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

R/parLapply.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ run_parLapply <- function(config) { # nolint
44
run_lapply(config = config)
55
return(invisible())
66
}
7-
outfile <- ifelse(config$verbose, "",
8-
"/dev/null") # nolint
9-
config$cluster <- makePSOCKcluster(config$jobs, outfile = outfile)
7+
config$cluster <- makePSOCKcluster(config$jobs)
108
clusterExport(cl = config$cluster, varlist = "config",
119
envir = environment())
1210
if (identical(config$envir, globalenv()))

0 commit comments

Comments
 (0)