Skip to content

Commit e473a08

Browse files
authored
suspendInterrupts missing on 3.4 (#7322)
1 parent 526ac94 commit e473a08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/utils.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
if (base::getRversion() < "3.5.0") {
1010
isTRUE = function(x) is.logical(x) && length(x)==1L && !is.na(x) && x # backport R's new implementation of isTRUE
1111
isFALSE = function(x) is.logical(x) && length(x)==1L && !is.na(x) && !x # backport isFALSE that was added in R 3.5.0
12+
suspendInterrupts = function(expr) expr
1213
}
1314
isTRUEorNA = function(x) is.logical(x) && length(x)==1L && (is.na(x) || x)
1415
isTRUEorFALSE = function(x) is.logical(x) && length(x)==1L && !is.na(x)

0 commit comments

Comments
 (0)