Skip to content

Commit 3839f26

Browse files
Fix typo bug in internal stopf() and warnf() around 'call.' argument
1 parent 9ddc8ee commit 3839f26

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: future.batchtools
2-
Version: 0.21.0-9004
2+
Version: 0.21.0-9005
33
Depends:
44
R (>= 3.2.0),
55
future (>= 1.58.0)

R/utils,conditions.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ stopf <- function(fmt, ..., call. = TRUE, domain = NULL) { #nolint
33
msg <- .makeMessage(msg, domain = domain)
44
if (is.call(call.)) {
55
call <- call.
6-
} else if (isTRUE(call)) {
6+
} else if (isTRUE(call.)) {
77
call <- sys.call(which = -1L)
88
} else {
99
call <- NULL
@@ -21,7 +21,7 @@ warnf <- function(fmt, ..., call. = TRUE, immediate. = FALSE, domain = NULL) {
2121
msg <- .makeMessage(msg, domain = domain)
2222
if (is.call(call.)) {
2323
call <- call.
24-
} else if (isTRUE(call)) {
24+
} else if (isTRUE(call.)) {
2525
call <- sys.call(which = -1L)
2626
} else {
2727
call <- NULL

0 commit comments

Comments
 (0)