From f9334b735cec1a8ad76f6ec01332eae77b30e824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Z=C3=A9=20Loff?= Date: Sat, 6 Jul 2024 00:05:25 +0100 Subject: [PATCH] Remove redundant function (#161) is_linux() is defined in utils.R, there is no need to re-define it in chromote.R --- R/chromote.R | 3 --- 1 file changed, 3 deletions(-) diff --git a/R/chromote.R b/R/chromote.R index d438dfa..b5e0d1e 100644 --- a/R/chromote.R +++ b/R/chromote.R @@ -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