* using log directory 'd:/RCompile/CRANincoming/R-devel/clustTMB.Rcheck' * using R Under development (unstable) (2024-09-06 r87103 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'clustTMB/DESCRIPTION' ... OK * this is package 'clustTMB' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Andrea M. Havron ' New submission Possibly misspelled words in DESCRIPTION: Covariate (8:5) Spatio (2:8) multinomial (9:35) spatio (7:21) Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead. Found the following (possibly) invalid URLs: URL: https://inlabru-org.github.io/fmesher (moved to https://inlabru-org.github.io/fmesher/) From: inst/doc/SpatialExMeuseData.html Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'clustTMB' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.2.0' * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [12s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: summary.clustTMB.Rd: sdreport Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [435s] ERROR Running 'testthat.R' [435s] Running the tests in 'tests/testthat.R' failed. Complete output: > 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [57s] OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs