Skip to content
Prev 9435 / 12125 Next

[R-pkg-devel] Examples are too long in computation for CRAN

I have tried the following:

   - Trimming down the examples substantially to only run 1 regression
   per-function.
   - Setting the nthreads argument to 2 in fixest::feels() in case this is
   the problem as suggested.
   - Tried to use skip_cran_test() on the tests that include fixest
   regressions

However, while the time has substantially been trimmed down, it still does
not pass. At this point, I'm not sure what the next step is.

Below is the results:

Flavor: r-devel-linux-x86_64-debian-gcc
Check: examples, Result: NOTE
  Examples with CPU time > 2.5 times elapsed time
                    user system elapsed ratio
  panelsummary_raw 3.354  0.054   0.461 7.393
  clean_raw        3.436  0.091   0.571 6.177
  panelsummary     3.636  0.136   0.824 4.578

Flavor: r-devel-linux-x86_64-debian-gcc
Check: tests, Result: NOTE
    Running 'testthat.R' [39s/4s]
  Running R code in 'testthat.R' had CPU time 8.7 times elapsed time

On Sat, Aug 12, 2023 at 11:26?PM Uwe Ligges <ligges at statistik.tu-dortmund.de>
wrote: