Skip to content

Commit a77ea9b

Browse files
Use new internal import_parallel_fcn(); drop use of importParallel()
1 parent a95a6fc commit a77ea9b

File tree

5 files changed

+609
-626
lines changed

5 files changed

+609
-626
lines changed

R/000.import.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ import_parallelly <- function(...) {
1313
import_from(..., package = "parallelly")
1414
}
1515

16+
import_parallel <- function(...) {
17+
import_from(..., package = "parallel")
18+
}
19+
20+
import_parallel_fcn <- function(name, ...) {
21+
import_from(name, ..., default = function(...) {
22+
stop(sprintf("No such function: parallel:::%s()", name))
23+
}, package = "parallel")
24+
}
1625

1726
## We are currently importing the following non-exported functions:
1827
## * cluster futures:

0 commit comments

Comments
 (0)