Skip to content

Commit b16ed06

Browse files
typo
1 parent 37b72eb commit b16ed06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inst/testme/test-foreach_dofuture,cluster-missing-doFuture-pkg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ setupClusterWithoutPkgs <- function(type = "PSOCK",
5050

5151
stopCluster2 <- function(cl) {
5252
for (kk in seq_along(cl)) {
53-
tryCatch(parallel::stopCluster(cl[kk]), error = TRUE)
53+
tryCatch(parallel::stopCluster(cl[kk]), error = identity)
5454
}
5555
} ## stopCluster2()
5656

inst/testme/test-foreach_dopar,cluster-missing-doFuture-pkg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ setupClusterWithoutPkgs <- function(type = "PSOCK",
5050

5151
stopCluster2 <- function(cl) {
5252
for (kk in seq_along(cl)) {
53-
tryCatch(parallel::stopCluster(cl[kk]), error = TRUE)
53+
tryCatch(parallel::stopCluster(cl[kk]), error = identity)
5454
}
5555
} ## stopCluster2()
5656

0 commit comments

Comments
 (0)