library(testthat) library(ggmlR) # Limit threads before any tests run (CRAN policy: CPU time <= 2x elapsed) if (identical(Sys.getenv("_R_CHECK_LIMIT_CORES_"), "TRUE")) { ggml_set_n_threads(2L) } test_check("ggmlR")