diff --git a/R/Require-helpers.R b/R/Require-helpers.R index 9b69348c..a22a50c9 100644 --- a/R/Require-helpers.R +++ b/R/Require-helpers.R @@ -704,7 +704,7 @@ isLinux <- function() { } isUbuntuOrDebian <- function() { - grepl("Ubuntu|Debian", utils::osVersion, ignore.case = TRUE) + isTRUE(grepl("Ubuntu|Debian", utils::osVersion, ignore.case = TRUE)) } warningCantInstall <- function(pkgs, libPaths = .libPaths()) { warning(