Having spent the best part of a month troubleshooting an almost identical issue, I came across Dirk's blog post here: https://dirk.eddelbuettel.com/blog/2023/10/31/. He discusses how to throttle the number of threads, and exports 2 handy functions in the RcppArmadillo package, which you can use with tests, examples, and vignettes. Thank you, Dirk... your trick just saved me!
On Tue, 28 Jan 2025 at 17:06, Dirk Eddelbuettel <e...@debian.org> wrote: > > Excellent (as usual) sleuthing by Ivan -- colour me impressed (again). > > As an aside, your package makes wide use of the excellent resources > provided > by other CRAN packages. But with this comes added complexity. Depending > on > over sixty (!!) other packages (when counting recursively, over seventy > when > we add Suggests:) can make your overall setup fragile, and debugging > challenging. > > > db <- tools::CRAN_package_db() > > deps <- tools::package_dependencies(c("dplyr", "ggplot2", "ggpubr", > + "ggtext", "janitor", "magrittr", "polite", "purrr", "RcppParallel", > + "RhpcBLASctl", "readr", "robotstxt", "rvest", "stringr", "text2vec", > "tidyr", > + "tidytext")) > > unique(sort(do.call(c, deps))) > [1] "cli" "clipr" "cowplot" "cpp11" > [5] "crayon" "data.table" "digest" "dplyr" > [9] "future.apply" "generics" "ggplot2" "ggrepel" > [13] "ggsci" "ggsignif" "glue" "grDevices" > [17] "grid" "gridExtra" "gridtext" "gtable" > [21] "hms" "httr" "isoband" "janeaustenr" > [25] "lgr" "lifecycle" "lubridate" "magrittr" > [29] "MASS" "Matrix" "memoise" "methods" > [33] "mgcv" "mlapi" "pillar" "polynom" > [37] "purrr" "R6" "ratelimitr" "Rcpp" > [41] "rlang" "robotstxt" "rsparse" "rstatix" > [45] "rvest" "scales" "selectr" "snakecase" > [49] "spiderbar" "stats" "stringi" "stringr" > [53] "tibble" "tidyr" "tidyselect" "tokenizers" > [57] "tzdb" "usethis" "utils" "vctrs" > [61] "vroom" "withr" "xml2" > > > > Dirk > > -- > dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel