We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526ac94 commit e473a08Copy full SHA for e473a08
R/utils.R
@@ -9,6 +9,7 @@
9
if (base::getRversion() < "3.5.0") {
10
isTRUE = function(x) is.logical(x) && length(x)==1L && !is.na(x) && x # backport R's new implementation of isTRUE
11
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
13
}
14
isTRUEorNA = function(x) is.logical(x) && length(x)==1L && (is.na(x) || x)
15
isTRUEorFALSE = function(x) is.logical(x) && length(x)==1L && !is.na(x)
0 commit comments