1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Warn that this may be buggy on 32-bit
(onLoad not onAttach as some packages use this via requireNamespace)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1104160
Forwarded: not-needed
--- r-cran-s2-1.1.7.orig/R/zzz.R
+++ r-cran-s2-1.1.7/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()
|