Dear All, I am writing to you because I am getting this NOTE from the CRAN Debian machine that is not allowing CRAN acceptance: "Installation took CPU time 2.9 times elapsed time". Uwe Ligges told me that this means that I am using more than 2 cores, but I must not use more than 2 by default.
In order to overcome this issue, I have included an R script inside the R folder named with my package name and this content: .onLoad <- function(libname, pkgname) { if (Sys.getenv("OMP_THREAD_LIMIT") == "") { Sys.setenv(OMP_THREAD_LIMIT = "2") } } In addition, I have included explicitly the parameter numThreads setThreadOptions(numThreads = 1) in the function where I use the setThreadOptions from the RcppParallel package. However, the CRAN NOTE persists. Do you know how to fix that? Many thanks in advance. Kind regards, Guillermo [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel