Closed egillax closed 5 months ago
is_installed <- function (pkg, version = 0) { installed_version <- tryCatch(utils::packageVersion(pkg), error = function(e) NA) !is.na(installed_version) && installed_version >= version }
In R 4.4.0 packageVersions are enforced to be characters so the comparison in the last line is invalid.
Fixed by #446
In R 4.4.0 packageVersions are enforced to be characters so the comparison in the last line is invalid.