Closed alko989 closed 5 years ago
The function isFALSE was introduced in R version 3.5 but there is no such requirement in the package DESCRIPTION.
isFALSE
I suggest to use identical(period, FALSE) in this line instead of requiring the latest version of R.
identical(period, FALSE)
NOTE: I checked the latest R base and isFALSE is defined as isFALSE <- function(x) is.logical(x) && length(x) == 1L && !is.na(x) && !x
isFALSE <- function(x) is.logical(x) && length(x) == 1L && !is.na(x) && !x
so another option is to add this line somewhere if(!exists("isFALSE")) isFALSE <- function(x) is.logical(x) && length(x) == 1L && !is.na(x) && !x
if(!exists("isFALSE")) isFALSE <- function(x) is.logical(x) && length(x) == 1L && !is.na(x) && !x
Great idea, thanks! Fixed in commit 3232994.
The function
isFALSE
was introduced in R version 3.5 but there is no such requirement in the package DESCRIPTION.I suggest to use
identical(period, FALSE)
in this line instead of requiring the latest version of R.NOTE: I checked the latest R base and
isFALSE
is defined asisFALSE <- function(x) is.logical(x) && length(x) == 1L && !is.na(x) && !x
so another option is to add this line somewhere
if(!exists("isFALSE")) isFALSE <- function(x) is.logical(x) && length(x) == 1L && !is.na(x) && !x