* using log directory ‘/Users/ripley/R/packages/tests-devel/RTMBdist.Rcheck’ * using R Under development (unstable) (2026-06-29 r90199) * using platform: aarch64-apple-darwin25.5.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.1.1.101) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.5.2 * using session charset: UTF-8 * current time: 2026-07-01 18:10:23 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘RTMBdist/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘RTMBdist’ version ‘1.0.4’ * 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 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 ‘RTMBdist’ can be installed ... OK * checking installed package size ... OK * 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 ... 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 ... OK * checking Rd files ... 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [20s/21s] ERROR Error(s) in re-building vignettes: --- re-building ‘Examples.Rmd’ using rmarkdown Quitting from Examples.Rmd:432-453 [copula fit] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `h()`: ! error in evaluating the argument 'X' in selecting a method for function 'apply': invalid 'type' (complex) of argument --- Backtrace: ▆ 1. ├─RTMB::MakeADFun(nll_copula, par, silent = TRUE) 2. │ └─obj$retape() 3. │ └─RTMB:::MakeADFunObject(...) 4. │ └─RTMB:::.MakeTape(mapfunc, obj$env$par) 5. │ └─RTMB (local) f(x) 6. │ └─global func(pl) 7. │ └─RTMBdist::dcopula(...) 8. │ ├─RTMBdist:::pmin.ad(pmax.ad(p1, eps), 1 - eps) 9. │ │ ├─base::apply(cbind(x, y), 1, min) 10. │ │ └─base::cbind(x, y) 11. │ └─RTMBdist:::pmax.ad(p1, eps) 12. │ ├─base::apply(cbind(x, y), 1, max) 13. │ └─RTMB::apply(cbind(x, y), 1, max) 14. │ ├─methods::callNextMethod() 15. │ └─base (local) .nextMethod(X = X, MARGIN = MARGIN, FUN = FUN) 16. └─base::.handleSimpleError(...) 17. └─base (local) h(simpleError(msg, call)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Examples.Rmd' failed with diagnostics: error in evaluating the argument 'X' in selecting a method for function 'apply': invalid 'type' (complex) of argument --- failed re-building ‘Examples.Rmd’ --- re-building ‘distlist.Rmd’ using rmarkdown --- finished re-building ‘distlist.Rmd’ SUMMARY: processing the following file failed: ‘Examples.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/RTMBdist.Rcheck/00check.log’ for details. 71.36 real 59.77 user 7.41 sys