From 32eb9cc8b30cfb021b995e73724438094d2c2dbb Mon Sep 17 00:00:00 2001 From: Roy Storey Date: Fri, 3 Sep 2021 09:28:06 +1200 Subject: [PATCH] test /.singularity.d (#824) --- R/consent.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/consent.R b/R/consent.R index c47750a75..37c365406 100644 --- a/R/consent.R +++ b/R/consent.R @@ -79,6 +79,7 @@ renv_consent_check <- function() { !is.na(Sys.getenv("CI", unset = NA)) || !is.na(Sys.getenv("GITHUB_ACTION", unset = NA)) || !is.na(Sys.getenv("RENV_PATHS_ROOT", unset = NA)) || + file.exists("/.singularity.d") || file.exists("/.dockerenv") if (consented)