R Under development (unstable) (2024-09-06 r87103 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(clustTMB) > > test_check("clustTMB") Loading required package: mclust Package 'mclust' version 6.1.1 Type 'citation("mclust")' for citing this R package in publications. Loading required package: MoEClust Package 'MoEClust' version 1.5.2. Type '?MoEClust' to see a brief guide to how to use this R package. Type 'citation("MoEClust")' for citing the package in publications. Type 'MoE_news()' to see new features recent changes and bug fixes. Loading required package: mvnfast Loading required package: FMsmsnReg Loading required package: TMB using C++ compiler: 'g++.exe (GCC) 13.2.0' make[1]: Entering directory '/d/RCompile/CRANincoming/R-devel/clustTMB.Rcheck/tests/testthat' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/d/RCompile/CRANincoming/R-devel/clustTMB.Rcheck/tests/testthat' make[1]: Entering directory '/d/RCompile/CRANincoming/R-devel/clustTMB.Rcheck/tests/testthat' make[1]: Leaving directory '/d/RCompile/CRANincoming/R-devel/clustTMB.Rcheck/tests/testthat' [ FAIL 1 | WARN 0 | SKIP 0 | PASS 467 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-unit-utils-fittmb.R:89:1'): (code run outside of `test_that()`) ── Error in `dyn.unload(dynlib(testthat::test_path("ref", "simple")))`: shared object 'd:/RCompile/CRANincoming/R-devel/clustTMB.Rcheck/tests/testthat/ref/simple.dll' was not loaded Backtrace: ▆ 1. └─base::dyn.unload(dynlib(testthat::test_path("ref", "simple"))) at test-unit-utils-fittmb.R:89:1 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 467 ] Error: Test failures Execution halted