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

Charles Plessy plessy at debian.org
Fri Aug 18 01:49:20 BST 2023


Le Thu, Aug 17, 2023 at 07:52:35AM +0200, Andreas Tille a écrit :
> 
>   arch <- R.version$arch
>   identical(arch, "i386") || identical(arch, "i686") || identical(arch, "armel") || identical(arch, "armhf")

Hi Andreas, how about:

    system("dpkg-architecture -qDEB_BUILD_ARCH", intern=TRUE) %in% c("i386", "i686", "armel", "armhf")

Have a nice day,

-- 
Charles



More information about the R-pkg-team mailing list