[R-pkg-team] Bug#1041556: What is the architecture name in R what we call armel/armhf

Graham Inggs ginggs at debian.org
Thu Aug 17 08:24:20 BST 2023


Hi Andreas

On Thu, 17 Aug 2023 at 05:52, Andreas Tille <andreas at an3as.eu> wrote:
> I tried to skip two tests in r-cran-checkmate with this patch[1]
> which is based on
>
>   arch <- R.version$arch
>   identical(arch, "i386") || identical(arch, "i686") || identical(arch, "armel") || identical(arch, "armhf")

Stack Overflow suggested to check .Machine$sizeof.pointer
which will return the pointer size in bytes,
so 8 on 64-bit and 4 on 32-bit architectures.

Regards
Graham



More information about the R-pkg-team mailing list