* using log directory 'd:/Rcompile/CRANpkg/local/4.7/mmrm.Rcheck' * using R Under development (unstable) (2026-04-27 r89967 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-28 09:06:50 UTC * checking for file 'mmrm/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'mmrm' version '0.3.17' * package encoding: UTF-8 * 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 'mmrm' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking installed package size ... INFO installed size is 6.9Mb sub-directories of 1Mb or more: libs 4.9Mb * checking package directory ... 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking whether startup messages can be suppressed ... [2s] 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] OK * checking Rd files ... [2s] OK * checking Rd metadata ... 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] 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [7s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [67s] ERROR Running 'additional.R' [11s] Running 'testthat.R' [55s] Running the tests in 'tests/testthat.R' failed. Complete output: > pkg_name <- "mmrm" > library(pkg_name, character.only = TRUE) > testthat::test_check(pkg_name) In AVISIT there are dropped visits: VIS4. Additional attributes including contrasts are lost. To avoid this behavior, make sure use `drop_visit_levels = FALSE`. Welcome to emmeans. Caution: You lose important information if you filter this package's results. See '? untidy' Saving _problems/test-empirical-486.R Saving _problems/test-empirical-520.R Saving _problems/test-empirical-554.R Saving _problems/test-empirical-588.R Saving _problems/test-empirical-622.R Saving _problems/test-empirical-656.R Loading required package: carData -- Model Registration ------------------------------------------- mmrm 0.3.17 -- v mmrm::mmrm() [ FAIL 6 | WARN 0 | SKIP 51 | PASS 2050 ] ══ Skipped tests (51) ══════════════════════════════════════════════════════════ • On CRAN (50): 'test-between-within.R:23:1', 'test-emmeans.R:115:1', 'test-empirical.R:3:1', 'test-empirical.R:15:1', 'test-empirical.R:27:1', 'test-fit.R:282:3', 'test-fit.R:412:3', 'test-fit.R:559:1', 'test-interop-car.R:214:1', 'test-interop-car.R:237:1', 'test-interop-car.R:304:1', 'test-kenwardroger.R:2:1', 'test-kenwardroger.R:12:1', 'test-kenwardroger.R:22:1', 'test-kenwardroger.R:32:1', 'test-kenwardroger.R:42:1', 'test-kenwardroger.R:52:1', 'test-kenwardroger.R:62:1', 'test-kenwardroger.R:72:1', 'test-kenwardroger.R:82:1', 'test-kenwardroger.R:92:1', 'test-kenwardroger.R:102:1', 'test-kenwardroger.R:112:1', 'test-kenwardroger.R:122:1', 'test-kenwardroger.R:132:1', 'test-kenwardroger.R:142:1', 'test-kenwardroger.R:152:1', 'test-kenwardroger.R:162:1', 'test-kenwardroger.R:172:1', 'test-kenwardroger.R:182:1', 'test-kenwardroger.R:192:1', 'test-kenwardroger.R:490:1', 'test-kenwardroger.R:498:1', 'test-kenwardroger.R:512:1', 'test-kenwardroger.R:530:1', 'test-kenwardroger.R:542:1', 'test-mmrm-methods.R:78:1', 'test-mmrm-methods.R:94:1', 'test-mmrm-methods.R:100:1', 'test-mmrm-methods.R:106:1', 'test-mmrm-methods.R:112:1', 'test-mmrm-methods.R:119:1', 'test-testing.R:78:1', 'test-testing.R:92:1', 'test-tmb-methods.R:142:1', 'test-tmb-methods.R:179:1', 'test-tmb-methods.R:351:1', 'test-tmb-methods.R:913:1', 'test-tmb-methods.R:1081:1', 'test-tmb-methods.R:1088:1' • empty test (1): ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-empirical.R:486:3'): Empirical works as expected for ar1 ─────── Error in `as.data.frame.default(data, optional = TRUE)`: cannot coerce class 'c("objectNotFoundError", "error", "condition")' to a data.frame Backtrace: ▆ 1. ├─clubSandwich::vcovCR(fit_gls, type = "CR0") at test-empirical.R:486:3 2. └─clubSandwich:::vcovCR.gls(fit_gls, type = "CR0") 3. └─clubSandwich:::vcov_CR(...) 4. ├─clubSandwich:::model_matrix(obj) 5. └─clubSandwich:::model_matrix.gls(obj) 6. ├─stats::model.matrix(formula(obj), data = dat) 7. └─stats::model.matrix.default(formula(obj), data = dat) 8. ├─stats::terms(object, data = data) 9. └─stats::terms.formula(object, data = data) 10. ├─base::as.data.frame(data, optional = TRUE) 11. └─base::as.data.frame.default(data, optional = TRUE) ── Error ('test-empirical.R:520:3'): Empirical works as expected for weighted ar1 ── Error in `as.data.frame.default(data, optional = TRUE)`: cannot coerce class 'c("objectNotFoundError", "error", "condition")' to a data.frame Backtrace: ▆ 1. ├─clubSandwich::vcovCR(fit_gls, type = "CR0") at test-empirical.R:520:3 2. └─clubSandwich:::vcovCR.gls(fit_gls, type = "CR0") 3. └─clubSandwich:::vcov_CR(...) 4. ├─clubSandwich:::model_matrix(obj) 5. └─clubSandwich:::model_matrix.gls(obj) 6. ├─stats::model.matrix(formula(obj), data = dat) 7. └─stats::model.matrix.default(formula(obj), data = dat) 8. ├─stats::terms(object, data = data) 9. └─stats::terms.formula(object, data = data) 10. ├─base::as.data.frame(data, optional = TRUE) 11. └─base::as.data.frame.default(data, optional = TRUE) ── Error ('test-empirical.R:554:3'): Jackknife works as expected for ar1 ─────── Error in `as.data.frame.default(data, optional = TRUE)`: cannot coerce class 'c("objectNotFoundError", "error", "condition")' to a data.frame Backtrace: ▆ 1. ├─clubSandwich::vcovCR(fit_gls, type = "CR3") at test-empirical.R:554:3 2. └─clubSandwich:::vcovCR.gls(fit_gls, type = "CR3") 3. └─clubSandwich:::vcov_CR(...) 4. ├─clubSandwich:::model_matrix(obj) 5. └─clubSandwich:::model_matrix.gls(obj) 6. ├─stats::model.matrix(formula(obj), data = dat) 7. └─stats::model.matrix.default(formula(obj), data = dat) 8. ├─stats::terms(object, data = data) 9. └─stats::terms.formula(object, data = data) 10. ├─base::as.data.frame(data, optional = TRUE) 11. └─base::as.data.frame.default(data, optional = TRUE) ── Error ('test-empirical.R:588:3'): Jackknife works as expected for weighted ar1 ── Error in `as.data.frame.default(data, optional = TRUE)`: cannot coerce class 'c("objectNotFoundError", "error", "condition")' to a data.frame Backtrace: ▆ 1. ├─clubSandwich::vcovCR(fit_gls, type = "CR3") at test-empirical.R:588:3 2. └─clubSandwich:::vcovCR.gls(fit_gls, type = "CR3") 3. └─clubSandwich:::vcov_CR(...) 4. ├─clubSandwich:::model_matrix(obj) 5. └─clubSandwich:::model_matrix.gls(obj) 6. ├─stats::model.matrix(formula(obj), data = dat) 7. └─stats::model.matrix.default(formula(obj), data = dat) 8. ├─stats::terms(object, data = data) 9. └─stats::terms.formula(object, data = data) 10. ├─base::as.data.frame(data, optional = TRUE) 11. └─base::as.data.frame.default(data, optional = TRUE) ── Error ('test-empirical.R:622:3'): Bias-Reduced works as expected for ar1 ──── Error in `as.data.frame.default(data, optional = TRUE)`: cannot coerce class 'c("objectNotFoundError", "error", "condition")' to a data.frame Backtrace: ▆ 1. ├─clubSandwich::vcovCR(fit_gls, type = "CR2") at test-empirical.R:622:3 2. └─clubSandwich:::vcovCR.gls(fit_gls, type = "CR2") 3. └─clubSandwich:::vcov_CR(...) 4. ├─clubSandwich:::model_matrix(obj) 5. └─clubSandwich:::model_matrix.gls(obj) 6. ├─stats::model.matrix(formula(obj), data = dat) 7. └─stats::model.matrix.default(formula(obj), data = dat) 8. ├─stats::terms(object, data = data) 9. └─stats::terms.formula(object, data = data) 10. ├─base::as.data.frame(data, optional = TRUE) 11. └─base::as.data.frame.default(data, optional = TRUE) ── Error ('test-empirical.R:656:3'): Bias-Reduced works as expected for weighted ar1 ── Error in `as.data.frame.default(data, optional = TRUE)`: cannot coerce class 'c("objectNotFoundError", "error", "condition")' to a data.frame Backtrace: ▆ 1. ├─clubSandwich::vcovCR(fit_gls, type = "CR2") at test-empirical.R:656:3 2. └─clubSandwich:::vcovCR.gls(fit_gls, type = "CR2") 3. └─clubSandwich:::vcov_CR(...) 4. ├─clubSandwich:::model_matrix(obj) 5. └─clubSandwich:::model_matrix.gls(obj) 6. ├─stats::model.matrix(formula(obj), data = dat) 7. └─stats::model.matrix.default(formula(obj), data = dat) 8. ├─stats::terms(object, data = data) 9. └─stats::terms.formula(object, data = data) 10. ├─base::as.data.frame(data, optional = TRUE) 11. └─base::as.data.frame.default(data, optional = TRUE) [ FAIL 6 | WARN 0 | SKIP 51 | PASS 2050 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [43s] OK * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... [28s] OK * DONE Status: 1 ERROR