[R-pkg-devel] unusually slow tests on win-builder

Jonathon Love jon at thon.cc
Mon Jun 5 14:48:09 CEST 2017


hi dason,

yes, it looks like it's taking 10 seconds.

10 seconds still seems unusually long, and a lot longer than 600ms.

any other suggestions as to what might be going on here?

with thanks

jonathon


On 5/6/17 22:36, Dason Kurkiewicz wrote:
> The relevant output is below:
>
> * checking examples ...
> ** running examples for arch 'i386' ... [24s] NOTE
> Examples with CPU or elapsed time > 10s
>      user system elapsed
> cfa 8.05   0.36   10.08
> ** running examples for arch 'x64' ... [28s] NOTE
> Examples with CPU or elapsed time > 10s
>       user system elapsed
> cfa 10.62   0.23      12
> * checking for unstated dependencies in 'tests' ... OK
> * checking tests ...
> ** running tests for arch 'i386' ... [25s] OK
>    Running 'testthat.R' [24s]
> ** running tests for arch 'x64' ... [32s] OK
>    Running 'testthat.R' [31s]
>
>
> I'm not sure why you're saying it's taking too long to run your tests
> when the output is telling you that it's your examples that are taking
> too long to run.  It's also not taking 24 and 28 seconds - I believe
> that is just a timestamp telling you that it's producing that note 24
> and 28 seconds into the check but I could be wrong.  Either way the
> relevant output for how long the examples take look like:
>
>      user system elapsed
> cfa 8.05   0.36   10.08
>
> That which tells you total it took 10.08 seconds to run the examples
> for arch 'i386'.
>
> -Dason Kurkiewicz
>
> On Mon, Jun 5, 2017 at 8:23 AM, Jonathon Love <jon at thon.cc> wrote:
>> hi,
>>
>> i've uploaded a version of my package to the win-builder service, but it is
>> reporting that one of my tests takes > 10 seconds to run. examining the log
>> here:
>>
>> https://win-builder.r-project.org/BvR4nreDE9qP/00check.log
>>
>> the win-builder is taking 24 and 28 seconds to run this test.
>>
>> on my local machine, this same test runs in 600ms
>>
>> can anyone shed any light on this? why is the win-builder so slow?
>>
>> with thanks
>>
>> jonathon
>>
>> ______________________________________________
>> R-package-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list