--- Begin Message ---
Have already done that. Just to run a couple reasonable examples is taking 12
seconds. On my laptop from home it is more like 8 seconds, which if you put
in the CRAN note with steps taken they will usually allow. Again, so I don't
seem like I am criticizing CRAN, I fu
The examples are dual purpose. They work like unit tests, and they show
humans how the code works. If you have a separate unit testing section you
can mock out the parts that take a long time (e.g. "get data from...").
Then just put the slow bits in your .Rd files into \dontrun blocks.
On Tue, A
Roy, I don't have an answer for you, but I have a similar issue.
Does your code happen to have a C++ component that takes a long time to
compile?
On Tue, Apr 23, 2019 at 5:11 PM Roy Mendelssohn - NOAA Federal via
R-package-devel wrote:
>
>
>
> -- Forwarded message --
> From: Roy
--- Begin Message ---
Hi All:
I am checking a package I am hoping to submit to CRAN on RHub. The Windows and
Fedora runs worked but the Ubuntu test ended because of the following:
> #> Warning messages:
> 3203#> 1: In i.p(...) : installation of package ‘rgdal’ had non-zero exit
> status
> 3204
--- Begin Message ---
I see. Thank you for the clarification. I did not realize this applied to
testing as well as package functionality.
> On Apr 23, 2019, at 10:28 AM, Iñaki Ucar wrote:
>
> On Tue, 23 Apr 2019 at 17:24, David Blodgett wrote:
>>
>> OK. Thank you. I'm always nervous about clo
On Tue, 23 Apr 2019 at 17:24, David Blodgett wrote:
>
> OK. Thank you. I'm always nervous about closing and re-opening a tempfile()
> but I suppose it is safe.
>
> Should I interpret your response as saying that creating and mutating files
> in "tests/testthat/data" is not possible on CRAN?
>Fr
--- Begin Message ---
OK. Thank you. I'm always nervous about closing and re-opening a tempfile() but
I suppose it is safe.
Should I interpret your response as saying that creating and mutating files in
"tests/testthat/data" is not possible on CRAN?
Thank you,
- Dave
> On Apr 23, 2019, at 10:
On Tue, 23 Apr 2019 at 15:57, David Blodgett via R-package-devel
wrote:
>
> I'm working on some CRAN Debian test failures
> (https://win-builder.r-project.org/incoming_pretest/ncdfgeom_1.0.0_20190423_031452/).
> The tests all pass on rhub Debian, CRAN windows, local OSX, and Travis
> Ubuntu. Th
--- Begin Message ---
Dear R Package Development Community,
I'm working on some CRAN Debian test failures
(https://win-builder.r-project.org/incoming_pretest/ncdfgeom_1.0.0_20190423_031452/).
The tests all pass on rhub Debian, CRAN windows, local OSX, and Travis Ubuntu.
The tests that are faili