Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from cderv/patch-1
Browse files Browse the repository at this point in the history
Correct os_type checking for windows
  • Loading branch information
gaborcsardi authored Feb 17, 2018
2 parents e4050e6 + f748761 commit 7bdd9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/platform.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ detect_os <- function() {

ostype <- os_type()
sysname <- Sys.info()["sysname"]
if (ostype == "win") {
if (ostype == "windows") {
"windows"
} else if (sysname == "Darwin") {
"osx"
Expand Down

0 comments on commit 7bdd9f3

Please sign in to comment.