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 eed6156 commit cc53225Copy full SHA for cc53225
R/backports.R
@@ -1,6 +1,6 @@
1
# Backport fix from R 3.3:
2
# https://github.com/wch/r-source/commit/4efc81c98d262f93de9e7911aaa910f5c63cd00f
3
-if (getRversion() < 3.3) {
+if (getRversion() < "3.3") {
4
absolute.units <- getFromNamespace("absolute.units", "grid")
5
absolute.units.unit <- getFromNamespace("absolute.units.unit", "grid")
6
absolute.units.unit.list <- getFromNamespace("absolute.units.unit.list", "grid")
@@ -18,6 +18,6 @@ if (getRversion() < 3.3) {
18
on_load(backport_unit_methods())
19
20
# isFALSE() is available on R (>=3.5)
21
-if (getRversion() < 3.5) {
+if (getRversion() < "3.5") {
22
isFALSE <- function(x) is.logical(x) && length(x) == 1L && !is.na(x) && !x
23
}
0 commit comments