Skip to content
Prev 7426 / 12125 Next

[R-pkg-devel] Tests run without --as-cran and not with

On Fri, 24 Sep 2021 21:48:12 +0200
Jan van der Laan <rhelp at eoos.dds.nl> wrote:

            
<...>
Part of R CMD check --as-cran is placing fake R and Rscript executables
on the PATH (but currently not on Windows):

https://github.com/r-devel/r-svn/blob/98f33a2a7b22f400d51220162cf400a0cfdc9aaf/src/library/tools/R/check.R#L279

https://github.com/r-devel/r-svn/blob/98f33a2a7b22f400d51220162cf400a0cfdc9aaf/src/library/tools/R/check.R#L6297-L6323

Does the pandoc script use the R_HOME variable to call the correct R
executable?