From 418c2f0dc78d636439f5190e8b1a634e272e79fe Mon Sep 17 00:00:00 2001 From: Debian R Packages Maintainers Date: Mon, 28 Apr 2025 19:16:30 +0100 Subject: [PATCH] Warn that this may be buggy on 32-bit (onLoad not onAttach as some packages use this via requireNamespace) Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/1104160 Forwarded: not-needed Gbp-Pq: Name warn-on-32bit.patch --- R/zzz.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/zzz.R b/R/zzz.R index a06930a..c82a2c2 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -1,6 +1,8 @@ # nocov start .onLoad <- function(...) { + if (.Machine$sizeof.pointer < 8) + packageStartupMessage("Warning: using s2 on a 32 bit system, which may not work correctly: https://bugs.debian.org/1104160") # call c++ init cpp_s2_init() -- 2.30.2