В Wed, 16 Oct 2024 17:38:27 +0000
D Z <david_j_zimmerm...@hotmail.com> пишет:

> if [ -n "$_R_CHECK_LIMIT_CORES" ]; then \
>   export BUILDFLAGS="-j 2 --offline"; \

This environment variable is spelled with an extra underscore:
https://cran.r-project.org/doc/manuals/r-devel/R-ints.html#index-_005fR_005fCHECK_005fLIMIT_005fCORES_005f

At least one of Josiah's packages instead relies on the user setting
the NOT_CRAN environment variable:
https://github.com/extendr/b64/blob/67ff753f71676870e3b04657909050ae10ec2145/src/Makevars#L10-L28

> Now I am wondering if there is anything that I can do about this NOTE
> or if I should ignore it.
> I did not find any reference to this in the "Using Rust in CRAN
> Packages"

"Not taking more than two parallel processes or threads during the CRAN
check" is a more general requirement for all packages, regardless of
whether they use Rust. A package that uses cmake -GNinja without
limiting the number of compiler processes or gives the -j$(nproc)
argument to a Make subprocess would have received this NOTE as well.

-- 
Best regards,
Ivan

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

Reply via email to