Re: [R-pkg-devel] R CMD check failure during vignette rebuilding

2020-04-14 Thread Duncan Murdoch
No, I can't tell you whether the behaviour you saw was intentional or not, I didn't write it. But the CRAN policy (which is the motivation for many of the checks) says "Packages should not write in the user’s home filespace (including clipboards), nor anywhere else on the file system apart fro

Re: [R-pkg-devel] R CMD check failure during vignette rebuilding

2020-04-14 Thread Konrad Rudolph
Hi Duncan, Thanks for the explanation. Using a temporary directory is what I’m doing at the moment as a workaround. What confused me was that `R CMD check` *already* works inside a new directory (a set of different ones, in fact), and it doesn’t seem to be documented anywhere that this is the int

Re: [R-pkg-devel] R CMD check failure during vignette rebuilding

2020-04-14 Thread Duncan Murdoch
On 14/04/2020 6:23 a.m., Konrad Rudolph wrote: I have a package vignette that reproducibly fails the second time round in `R CMD check`, in the “checking re-building of vignette outputs” step. I have uploaded a small reprex to GitHub [1]. But in a nutshell the vignette contains a subfolder `foo`

[R-pkg-devel] R CMD check failure during vignette rebuilding

2020-04-14 Thread Konrad Rudolph
I have a package vignette that reproducibly fails the second time round in `R CMD check`, in the “checking re-building of vignette outputs” step. I have uploaded a small reprex to GitHub [1]. But in a nutshell the vignette contains a subfolder `foo`, and a file `foo/bar`. And the `test.rmd` vignet