I was able to get it to work with your solution. Thanks a lot. Solution was to set Sys.setenv(“OMP_THREAD_LIMIT”, “1”) on load. I may adjust this down the road but modeltime 1.2.8 is now on CRAN.
Thanks, Matt On Sat, Sep 2, 2023 at 7:29 AM Matt Dancho <mdan...@business-science.io> wrote: > Thank you very much. I’ll try this and let you know. > > On Fri, Sep 1, 2023 at 10:04 AM Ivan Krylov <krylov.r...@gmail.com> wrote: > >> В Fri, 1 Sep 2023 08:26:32 -0400 >> Matt Dancho <mdan...@business-science.io> пишет: >> >> > Check: tests, Result: NOTE >> > Running 'testthat.R' [20s/7s] >> > Running R code in 'testthat.R' had CPU time 2.7 times elapsed time >> > >> > Flavor: r-devel-linux-x86_64-debian-gcc >> > Check: re-building of vignette outputs, Result: NOTE >> > Re-building vignettes had CPU time 2.7 times elapsed time >> >> Here's the conclusion of a recent R-pkg-devel thread: >> https://stat.ethz.ch/pipermail/r-package-devel/2023q3/009513.html >> >> It might help to set the environment variable >> OMP_THREAD_LIMIT to 2 in >> your tests and vignettes, but with examples (and, generally, with >> defaults in your functions) it will be harder to achieve compliance: >> >> https://github.com/Rdatatable/data.table/issues/5658#issuecomment-1700972630 >> >> I don't see an immediate dependency of your package that could be doing >> something in parallel, but maybe you'll be able to find it after >> reading the R-package-devel thread. >> >> -- >> Best regards, >> Ivan >> > [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel