On 13.09.2022 13:14, Florian Schwendinger wrote:
Dear R-package-developers,

On 'r-oldrel-windows-ix86_x86_64' I get in 'check.log' the error message
"Error: package 'highs' is not installed for 'arch = i386'"
the statement that for arch = i386 the package is not installed is correct and 
expected,
since in 'install.out' I see the warning
"Warning: this package has a non-empty 'configure.win' file, so building only the 
main architecture"

Looking at r-package-devel archive, I found the suggestion to set Biarch TRUE 
in the DESCRIPTION file.
I don't want to force the build of "i386" by setting Biarch: TRUE,
since as far as I see from the source I link to this should not work and I 
don't want
to alter the library I link to as little as possible.
Therefore, I want skip the step "loading checks for arch 'i386'". Is this 
possible?

No, up to the R-4.1.x series we provide only bi-arch packages. Not packages for single architectures.

I know locally this can be resolved by adding the option '--no-multiarch',
but can a similar effect be accomplished at the CRAN checks?
Furthermore, I know I can could this issue by adding R >= 4.2 to the depends 
since Rtools 4.2
does not build for i386. But this does not seem like a nice fix.

Is there a better option and how would it work?

If it is not too important for you that CRAN provides Windows binaries for the R-4.1.x series, simply keep it as is.
Users can install for x64 from source or upgrade R.

Best,
Uwe



Best regards,
Florian

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to