imporove platform detection
This commit is contained in:
parent
893afd4d98
commit
e8f35ee392
1 changed files with 9 additions and 5 deletions
|
|
@ -16,6 +16,10 @@ install_package_system_dependencies <- function(package_name,
|
|||
))
|
||||
}
|
||||
|
||||
if (grepl("alpine", platform)) {
|
||||
platform <- "alpine"
|
||||
}
|
||||
|
||||
cli::cli_alert("{.fun install_package_system_dependencies}: Installing R package dependencies for {.pkg {package_name[1]}} with tag {.field {tail(tag, 1)}}.")
|
||||
Sys.setenv(PKG_SYSREQS_PLATFORM = platform)
|
||||
Sys.setenv(PKG_SYSREQS = TRUE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue