Re: [R-pkg-devel] How to write example results to a tempdir()?

2018-04-26 Thread Jose A Guijarro
ay I only need to apply slight changes in the examples and can avoid modifying all read/writes along the package. I will try this approach and see if it passes the CRAN checks. Jose Sarah On Wed, Apr 25, 2018 at 12:30 PM, Jose A Guijarro <jguijar...@aemet.es> wrote: Dear all,

Re: [R-pkg-devel] How to write example results to a tempdir()?

2018-04-25 Thread Jose A Guijarro
dat')) Using file.path() means that the appropriate path delimiter for that OS will be used. Sarah On Wed, Apr 25, 2018 at 12:30 PM, Jose A Guijarro <jguijar...@aemet.es> wrote: Dear all, I am struggling to update my package climatol from version 3.0 to 3.1. The old version had all examp

[R-pkg-devel] How to write example results to a tempdir()?

2018-04-25 Thread Jose A Guijarro
Dear all, I am struggling to update my package climatol from version 3.0 to 3.1. The old version had all examples under a "dontrun" section because they needed files created by other examples that the user had to run first. As this is not acceptable anymore, I made the examples runnable and