Skip to content

Commit

Permalink
Merge pull request #118 from MichaelChirico/patch-1
Browse files Browse the repository at this point in the history
robust to NULL osVersion
  • Loading branch information
eliotmcintire authored Nov 2, 2024
2 parents 079e5ec + f5d28e1 commit 1f86462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/Require-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1f86462

Please sign in to comment.