From a9fdb335a8c622ab076a1b12742521c6f8592910 Mon Sep 17 00:00:00 2001 From: Tomasz Kalinowski Date: Wed, 21 Jan 2026 19:46:31 -0500 Subject: [PATCH] Gate boot-time init to Linux - Avoid macOS seatbelt sysctl denials on load. --- R/on-load.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/on-load.R b/R/on-load.R index 2799cd4e..d9581c09 100644 --- a/R/on-load.R +++ b/R/on-load.R @@ -5,7 +5,7 @@ ## because in a Docker container (maybe elsewhere as well?) on ## Linux it can change (!). ## See https://github.com/r-lib/processx/issues/258 - if (ps::ps_is_supported()) { + if (is_linux() && ps::ps_is_supported()) { ps::ps_handle() bt <- ps::ps_boot_time() .Call(c_processx__set_boot_time, bt)