* using log directory ‘/Users/ripley/R/packages/tests-devel/tsissm.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 ‘tsissm/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘tsissm’ version ‘1.0.2’ * 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 ‘tsissm’ can be installed ... [50s/42s] OK * used C++ compiler: ‘Apple clang version 21.0.0 (clang-2100.1.1.101)’ * used SDK: ‘MacOSX26.5.sdk’ * checking installed package size ... INFO installed size is 14.6Mb sub-directories of 1Mb or more: libs 13.0Mb * 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 ... [10s/10s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... 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 compilation flags used ... OK * checking compiled code ... OK * checking sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... NONE * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(tsissm) Loading required package: Rcpp Loading required package: tsmethods > > test_check("tsissm") Error in `source_dir()`: ! Failed to evaluate './helper-global.R'. Caused by error: ! '*this' is not a valid 'advector' (constructed using illegal operation?) Backtrace: ▆ 1. ├─testthat::test_check("tsissm") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_helpers(".", env) 7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─tsmethods::estimate(spec_constant_benchmark) at ./helper-global.R:7:1 15. │ └─tsissm:::estimate.tsissm.spec(spec_constant_benchmark) 16. │ └─tsissm:::.estimate_ad_constant(...) 17. │ └─tsissm:::issm_constraint(fun$par, fun, issmenv) 18. │ └─RTMB (local) makeADFun2(...) 19. │ └─obj$retape() 20. │ └─RTMB:::MakeADFunObject(...) 21. │ └─RTMB:::.MakeTape(mapfunc, obj$env$par) 22. │ └─RTMB (local) f(x) 23. │ └─tsissm (local) func(pl) 24. │ ├─base::eigen(D, symmetric = FALSE, only.values = TRUE) 25. │ └─RTMB::eigen(D, symmetric = FALSE, only.values = TRUE) 26. │ ├─base::eigen(x, symmetric, only.values, EISPACK) 27. │ └─RTMB::eigen(x, symmetric, only.values, EISPACK) 28. │ └─RTMB::Math.advector(colSums(Re(V * Conj(V)))) 29. │ └─RTMB:::Math1(x, .Generic, ...) 30. ├─base::stop(``) 31. └─testthat (local) ``(``) 32. └─cli::cli_abort(...) 33. └─rlang::abort(...) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [39s/40s] ERROR Error(s) in re-building vignettes: --- re-building ‘demo_ensembling.Rmd’ using rmarkdown Quitting from demo_ensembling.Rmd:90-92 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `dimnames(x) <- dnx`: ! 'dimnames' applied to non-array --- Backtrace: ▆ 1. ├─flextable::as_flextable(summary(mod$models[[1]])) 2. └─flextable:::as_flextable.table(summary(mod$models[[1]])) 3. ├─base::as.data.frame(x) 4. └─base::as.data.frame.table(x) 5. ├─base::eval(ex) 6. │ └─base::eval(ex) 7. ├─base::data.frame(...) 8. ├─base::do.call(...) 9. └─base::provideDimnames(x, sep = sep, base = base) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'demo_ensembling.Rmd' failed with diagnostics: 'dimnames' applied to non-array --- failed re-building ‘demo_ensembling.Rmd’ --- re-building ‘demo_filtering.Rmd’ using rmarkdown Quitting from demo_filtering.Rmd:50-64 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! '*this' is not a valid 'advector' (constructed using illegal operation?) --- Backtrace: ▆ 1. ├─tsmethods::estimate(spec) 2. └─tsissm:::estimate.tsissm.spec(spec) 3. └─tsissm:::.estimate_ad_constant(...) 4. └─tsissm:::issm_constraint(fun$par, fun, issmenv) 5. └─RTMB (local) makeADFun2(...) 6. └─obj$retape() 7. └─RTMB:::MakeADFunObject(...) 8. └─RTMB:::.MakeTape(mapfunc, obj$env$par) 9. └─RTMB (local) f(x) 10. └─tsissm (local) func(pl) 11. ├─base::eigen(D, symmetric = FALSE, only.values = TRUE) 12. └─RTMB::eigen(D, symmetric = FALSE, only.values = TRUE) 13. ├─base::eigen(x, symmetric, only.values, EISPACK) 14. └─RTMB::eigen(x, symmetric, only.values, EISPACK) 15. └─RTMB::Math.advector(colSums(Re(V * Conj(V)))) 16. └─RTMB:::Math1(x, .Generic, ...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'demo_filtering.Rmd' failed with diagnostics: '*this' is not a valid 'advector' (constructed using illegal operation?) --- failed re-building ‘demo_filtering.Rmd’ --- re-building ‘demo_missing_data.Rmd’ using rmarkdown Quitting from demo_missing_data.Rmd:82-99 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! '*this' is not a valid 'advector' (constructed using illegal operation?) --- Backtrace: ▆ 1. ├─tsmethods::estimate(spec_naive, scores = FALSE) 2. └─tsissm:::estimate.tsissm.spec(spec_naive, scores = FALSE) 3. └─tsissm:::.estimate_ad_constant(...) 4. └─tsissm:::issm_constraint(fun$par, fun, issmenv) 5. └─RTMB (local) makeADFun2(...) 6. └─obj$retape() 7. └─RTMB:::MakeADFunObject(...) 8. └─RTMB:::.MakeTape(mapfunc, obj$env$par) 9. └─RTMB (local) f(x) 10. └─tsissm (local) func(pl) 11. ├─base::eigen(D, symmetric = FALSE, only.values = TRUE) 12. └─RTMB::eigen(D, symmetric = FALSE, only.values = TRUE) 13. ├─base::eigen(x, symmetric, only.values, EISPACK) 14. └─RTMB::eigen(x, symmetric, only.values, EISPACK) 15. └─RTMB::Math.advector(colSums(Re(V * Conj(V)))) 16. └─RTMB:::Math1(x, .Generic, ...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'demo_missing_data.Rmd' failed with diagnostics: '*this' is not a valid 'advector' (constructed using illegal operation?) --- failed re-building ‘demo_missing_data.Rmd’ --- re-building ‘demo_variance_dynamics.Rmd’ using rmarkdown Quitting from demo_variance_dynamics.Rmd:90-101 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! '*this' is not a valid 'advector' (constructed using illegal operation?) --- Backtrace: ▆ 1. ├─tsmethods::estimate(spec_constant, scores = FALSE) 2. └─tsissm:::estimate.tsissm.spec(spec_constant, scores = FALSE) 3. └─tsissm:::.estimate_ad_constant(...) 4. └─tsissm:::ar_jconstraint(fun$par, fun, issmenv) 5. └─RTMB (local) makeADFun2(...) 6. └─obj$retape() 7. └─RTMB:::MakeADFunObject(...) 8. └─RTMB:::.MakeTape(mapfunc, obj$env$par) 9. └─RTMB (local) f(x) 10. └─tsissm (local) func(pl) 11. ├─base::eigen(C, symmetric = FALSE) 12. └─RTMB::eigen(C, symmetric = FALSE) 13. ├─base::eigen(x, symmetric, only.values, EISPACK) 14. └─RTMB::eigen(x, symmetric, only.values, EISPACK) 15. └─RTMB::Math.advector(colSums(Re(V * Conj(V)))) 16. └─RTMB:::Math1(x, .Generic, ...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'demo_variance_dynamics.Rmd' failed with diagnostics: '*this' is not a valid 'advector' (constructed using illegal operation?) --- failed re-building ‘demo_variance_dynamics.Rmd’ --- re-building ‘issm_introduction.Rmd’ using rmarkdown --- finished re-building ‘issm_introduction.Rmd’ SUMMARY: processing the following files failed: ‘demo_ensembling.Rmd’ ‘demo_filtering.Rmd’ ‘demo_missing_data.Rmd’ ‘demo_variance_dynamics.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: 2 ERRORs See ‘/Users/ripley/R/packages/tests-devel/tsissm.Rcheck/00check.log’ for details. 138.17 real 130.25 user 11.75 sys