Skip to content

Commit db0e268

Browse files
author
hornik
committed
Tweaks for c88262.
git-svn-id: https://svn.r-project.org/R/trunk@88272 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 70dfffc commit db0e268

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/library/tools/R/utils.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2778,8 +2778,7 @@ function(fun, args = list(), opts = "--no-save --no-restore",
27782778
if (inherits(val, "condition")) {
27792779
## maybe wrap in a classed error and include some of res
27802780
msg <- gettextf("error in inferior call:\n %s",
2781-
conditionMessage(val),
2782-
domain = NA)
2781+
conditionMessage(val))
27832782
stop(do.call(errorCondition,
27842783
c(list(message = msg,
27852784
class = "inferiorCallError",
@@ -2798,8 +2797,7 @@ function(fun, args = list(), opts = "--no-save --no-restore",
27982797
## again maybe wrap in a classed error and include some of res
27992798
## might want to distinguish two errors by sub-classes
28002799
stop(do.call(errorCondition,
2801-
c(list(message = gettext("inferior call failed",
2802-
domain = NA),
2800+
c(list(message = gettext("inferior call failed"),
28032801
class = "inferiorCallError"),
28042802
res = res)))
28052803
}

0 commit comments

Comments
 (0)