From: Debian R Packages Maintainers Date: Mon, 28 Apr 2025 18:16:30 +0000 (+0100) Subject: Warn that this may be buggy on 32-bit X-Git-Tag: archive/raspbian/1.1.7-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=418c2f0dc78d636439f5190e8b1a634e272e79fe;p=r-cran-s2.git 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 --- 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()