[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the architecture name in R what we call armel/armhf



Hi Andreas

On Thu, 17 Aug 2023 at 05:52, Andreas Tille <andreas@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


Reply to: