sparklyr / sparklyr

R interface for Apache Spark

Home Page:https://spark.rstudio.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

os check for windows is incorrect

jmbarbone opened this issue · comments

sparklyr/R/utils.R

Lines 590 to 602 in 5fe4a80

get_os <- function() {
if (.Platform$OS.type == "windows") {
"win"
} else if (Sys.info()["sysname"] == "Darwin") {
"mac"
} else {
"unix"
}
}
os_is_windows <- function() {
get_os() == "windows"
}

os check on windows is incorrect (on 1.8.4.9004)