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

2021-10-01 Thread Jan van der Laan
Thanks! That looks relevant. I think I have found the relevant source code in pandoc, and it seems it just calls Rscript without path. So it will probably call the dummy Rscript. Hmm, I'll have to think how to fix that. It is probably good that R CMD check checks this as this could cause

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

2021-09-30 Thread Ivan Krylov
On Fri, 24 Sep 2021 21:48:12 +0200 Jan van der Laan wrote: > my tests run fine when run with R CMD check, but not with R CMD check > --as-cran <...> > pandoc then calls R again with a script which is part of the package Part of R CMD check --as-cran is placing fake R and Rscript executables

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

2021-09-24 Thread Jan van der Laan
I am trying solve an issue where my tests run fine when run with R CMD check, but not with R CMD check --as-cran. In the tests pandoc is called using system; pandoc then calls R again with a script which is part of the package. The last part seems to fail, see error message below: