You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there's also an objective to emulate the win-builder service, then I pretty sure that one uses R CMD check option --mutiarch:
--force-multiarch run tests on all sub-archs even for packages
with no compiled code
because also for packages using pure-R code, you'll get:
*checkingexamples...**runningexamplesforarch'i386'... [12s] OK**runningexamplesforarch'x64'... [15s] OK*checkingforunstateddependenciesin'tests'...OK*checkingtests...**runningtestsforarch'i386'... [168s] OK
[...]
**runningtestsforarch'x64'... [62s] OK
Note, however, from the CRAN check logs, it appear that the CRAN servers are NOT using --force-multiarch. So, I don't know how relevant it is to reproduce win-builder per se.
Background: I discovered this with a package where I get an error in the 'x64' tests, because the 'i386' tests generates some files that 'x64' tests don't expect to be there. In other words, the error does not appear if one run the two architechtures independently of each other (as one can do on AppVeyor).
The text was updated successfully, but these errors were encountered:
I tend to agree with you that there's little need to have rhub reproduce the win-builder services. This is more an issue with win-builder behaving differently than the CRAN test servers and one could argue that R CMD check should assert that there's no bleed-over from tests on one architecture to the following one. So, this should probably be reported to CRAN instead. And, in the end of the day, this is a bug in how the tests were written.
However, now it is at least documented in the wide open so if anyone else might find this from a web search.
If there's also an objective to emulate the win-builder service, then I pretty sure that one uses
R CMD check
option--mutiarch
:because also for packages using pure-R code, you'll get:
Note, however, from the CRAN check logs, it appear that the CRAN servers are NOT using
--force-multiarch
. So, I don't know how relevant it is to reproduce win-builder per se.Background: I discovered this with a package where I get an error in the 'x64' tests, because the 'i386' tests generates some files that 'x64' tests don't expect to be there. In other words, the error does not appear if one run the two architechtures independently of each other (as one can do on AppVeyor).
The text was updated successfully, but these errors were encountered: