Displaying 1 result from an estimated 1 matches for "falsem".
Did you mean:
false
2023 Oct 31
0
warnings() in R-devel: inherits from "warnings" - summary(warnings())
...(warnings())
no warnings
instead of in current (released) R
R> summary(warnings())
Length Class Mode
0 NULL NULL
In a few CRAN / Bioc packages authors had used checks
if( is.null(warnings()) )
which will no longer do what was intended, as
the condition will always be FALSEm
so we strongly recommend you replace all
is.null(warnings())
by length(warnings()) == 0
(which works the same in current *and* future R versions).
One package maintainer has already been alerted, as he had
stopifnot(is.null(warnings()))
at the end of his test script and needs to replace...