Skip to content

Commit 51573b9

Browse files
with(..., local = FALSE) for DoPar no longer returns invisibly
1 parent 1c4c207 commit 51573b9

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: doFuture
2-
Version: 1.1.3-9001
2+
Version: 1.1.3-9002
33
Title: Use Foreach to Parallelize via the Future Framework
44
Depends:
55
foreach (>= 1.5.0),

NEWS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Version (development version)
22

3-
* ...
3+
## Significant Changes
4+
5+
* `with(..., local = FALSE)` for `DoPar` no longer returns invisibly.
46

57

68
# Version 1.1.3 (2025-12-08)

R/with.DoPar.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#' @param \ldots Not used.
1717
#'
1818
#' @returns
19-
#' Invisibly, the value of `expr` if `local = FALSE`, other NULL.
19+
#' The value of `expr` if `local = FALSE`, otherwise NULL invisibly.
2020
#'
2121
#' @example incl/with.R
2222
#'
@@ -41,6 +41,6 @@ with.DoPar <- function(data, expr, ..., local = FALSE, envir = parent.frame()) {
4141
invisible(NULL)
4242
} else {
4343
on.exit(undoDoPar())
44-
invisible(eval(expr, envir = envir, enclos = baseenv()))
44+
eval(expr, envir = envir, enclos = baseenv())
4545
}
4646
}

man/with.DoPar.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)