On 9/28/22 00:50, Bailey, Paul wrote:
Hi,

I'm trying to update WeMix on CRAN and when I use R-devel (2022-09-26 r82921 
ucrt) to R CMD check --as-cran R-devel will not install the package. This is 
the log file

[snip]
** testing if installed package can be loaded from temporary location
*** arch - i386
Error in .makeMessage(..., domain = domain) :
   3 arguments passed to .Internal(gettext) which requires 2
Calls: .OptRequireMethods
Execution halted
[snip]

This looks like not a problem with my package. Is this a known problem? Also, I 
get this with R-devel on my currently on CRAN version and CRAN itself does not 
show this.

Right, doesn't seem like a problem with your package, but probably with your setup. To be sure the package is ok, you can use the Winbuilder service first to check the package, and if it checks fine, only then start debugging your setup.

For me checking the CRAN version of your package on R-devel on Windows works fine, using "R CMD check" all with defaults.

R-devel (as well as R 4.2) no longer supports 32-bit targets so the "arch - i386" above looks suspicious. A mismatch in the number of arguments to an internal function may suggest that some parts of your installation are outdated. Perhaps if you start with an empty package library, the problem would go away?

Best,
Tomas


Best,
Paul Bailey

______________________________________________
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