* using log directory ‘/srv/hornik/tmp/CRAN/mmrm.Rcheck’ * using R Under development (unstable) (2023-09-19 r85177) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (15) GNU Fortran (Debian 13.2.0-3) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘mmrm/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘mmrm’ version ‘0.3.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/7s] NOTE Maintainer: ‘Daniel Sabanes Bove ’ Possibly misspelled words in DESCRIPTION: al (30:55) et (30:52) Size of tarball: 5427835 bytes * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘mmrm’ can be installed ... [213s/213s] OK * used C++ compiler: ‘Debian clang version 16.0.6 (15)’ * checking C++ specification ... NOTE Specified C++14: please drop specification unless essential * 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] 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 ... [9s/9s] OK * checking Rd files ... [2s/2s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... 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 ... [4s/4s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [19s/19s] ERROR Running ‘testthat.R’ [19s/19s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > pkg_name <- "mmrm" > library(pkg_name, character.only = TRUE) > testthat::test_check(pkg_name) -- Model Registration -------------------------------------------- mmrm 0.3.2 -- v mmrm::mmrm() [ FAIL 2 | WARN 0 | SKIP 42 | PASS 1832 ] ══ Skipped tests (42) ══════════════════════════════════════════════════════════ • On CRAN (42): 'test-between-within.R:29:3', 'test-empirical.R:6:3', 'test-empirical.R:12:3', 'test-empirical.R:18:3', 'test-fit.R:214:3', 'test-fit.R:265:3', 'test-fit.R:361:3', 'test-kenwardroger.R:4:3', 'test-kenwardroger.R:9:3', 'test-kenwardroger.R:14:3', 'test-kenwardroger.R:19:3', 'test-kenwardroger.R:24:3', 'test-kenwardroger.R:29:3', 'test-kenwardroger.R:34:3', 'test-kenwardroger.R:39:3', 'test-kenwardroger.R:44:3', 'test-kenwardroger.R:49:3', 'test-kenwardroger.R:54:3', 'test-kenwardroger.R:59:3', 'test-kenwardroger.R:64:3', 'test-kenwardroger.R:69:3', 'test-kenwardroger.R:74:3', 'test-kenwardroger.R:79:3', 'test-kenwardroger.R:84:3', 'test-kenwardroger.R:89:3', 'test-kenwardroger.R:98:3', 'test-kenwardroger.R:107:3', 'test-kenwardroger.R:348:3', 'test-kenwardroger.R:356:3', 'test-kenwardroger.R:367:3', 'test-kenwardroger.R:377:3', 'test-kenwardroger.R:389:3', 'test-mmrm-methods.R:66:3', 'test-mmrm-methods.R:79:3', 'test-mmrm-methods.R:85:3', 'test-mmrm-methods.R:91:3', 'test-mmrm-methods.R:97:3', 'test-mmrm-methods.R:104:3', 'test-testing.R:69:3', 'test-testing.R:84:3', 'test-tmb-methods.R:711:3', 'test-tmb-methods.R:718:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-fit.R:347:3'): mmrm falls back to other optimizers if default does not work ── Error in `mmrm(formula, fev_data, n_cores = 1L, optimizer_fun = c(fake = fake_optimizer, h_get_optimizers("L-BFGS-B")))`: Chosen optimizers 'fake, L-BFGS-B' led to problems during model fit: 1) Model convergence problem: NEW_X. Consider trying multiple or different optimizers. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-fit.R:347:2 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─mmrm::mmrm(...) ── Failure ('test-fit.R:378:3'): mmrm works for rank deficient original design matrix by default ── attr(result, "converged") is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 2 | WARN 0 | SKIP 42 | PASS 1832 ] Error: Test failures In addition: Warning message: In checkMatrixPackageVersion() : Package version inconsistency detected. TMB was built with Matrix version 1.6.1 Current Matrix version is 1.6.1.1 Please re-install 'TMB' from source using install.packages('TMB', type = 'source') or ask CRAN for a binary version of 'TMB' matching CRAN's 'Matrix' package Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [20s/20s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs