Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/CRAN n cores notes #58

Merged
merged 15 commits into from
Sep 8, 2023
Merged

Fix/CRAN n cores notes #58

merged 15 commits into from
Sep 8, 2023

Conversation

robitalec
Copy link
Member

CRAN's recent checks

0 on Windows
3 NOTEs on Debian

* checking examples ... [61s/8s] NOTE
Examples with CPU (user + system) or elapsed time > 5s
* checking tests ... [89s/15s] NOTE
  Running ‘testthat.R’ [89s/15s]
Running R code in ‘testthat.R’ had CPU time 6 times elapsed time
* checking re-building of vignette outputs ... [31s/7s] NOTE
Re-building vignettes had CPU time 4.3 times elapsed time 

Suggested fix:

  • "reduce the number of parallel processes/threads"
  • "do not use more than 2 cores"

Related:

@robitalec robitalec merged commit 2edd03c into main Sep 8, 2023
8 checks passed
@robitalec robitalec deleted the fix/cran-n-cores branch September 8, 2023 13:14
@robitalec
Copy link
Member Author

Passing on CRAN by littering examples, tests and vignettes with data.table::setDTthreads(1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant