Skip to content

Commit

Permalink
Remove redundant function (#161)
Browse files Browse the repository at this point in the history
is_linux() is defined in utils.R, there is no need to re-define it in chromote.R
  • Loading branch information
zeloff authored Jul 5, 2024
1 parent a900c46 commit f9334b7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/chromote.R
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,6 @@ is_inside_ci <- function() {
}


is_linux <- function() {
Sys.info()[["sysname"]] == "Linux"
}
is_missing_linux_user <- cache_value(function() {
is_linux() &&
system("id", ignore.stdout = TRUE) != 0
Expand Down

0 comments on commit f9334b7

Please sign in to comment.