Re: [R-pkg-devel] Fwd: Passing CRAN check when an examples must save a file

2019-09-27 Thread Jeff Newmiller
Read the Posting Guide... sending html formatted email corrupts your message. Reading between the garbage... a) Pasting an extension is not necessary. b) using tempfile() in your example as an argument to sink( file=) is a straightforward way to illustrate that a file can be created. On Septemb

[R-pkg-devel] Fwd: Passing CRAN check when an examples must save a file

2019-09-27 Thread Tiago Olivoto
Dear all, I had the same problem when I submitted my R package 'metan' to CRAN for the first time. "Please ensure that your functions do not write by default or in your examples/vignettes/tests in the user's home filespace (including the package directory and getwd()). In your examples/vignettes/t