* using log directory ‘/Users/ripley/R/packages/tests-devel/EconCausal.Rcheck’ * using R Under development (unstable) (2026-09-18 r90566) * using platform: aarch64-apple-darwin27.0.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.3.34.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Golden Gate 27.0 * using session charset: UTF-8 * current time: 2026-09-27 13:48:54 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘EconCausal/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘EconCausal’ version ‘1.0.4’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: 'cmdstanr' * 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 ‘EconCausal’ 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’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(EconCausal) > > test_check("EconCausal") Saving _problems/test-bglmar1-37.R Saving _problems/test-bsts_model-15.R [ FAIL 2 | WARN 0 | SKIP 2 | PASS 69 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • RhpcBLASctl was built without OpenMP (1): 'test-ecm_mars.R:142:5' • the BLAS in use does not report a thread count set through RhpcBLASctl (1): 'test-ecm_mars.R:127:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bglmar1.R:29:3'): bglmar1() stops when no Stan backend is available ── Error in `dplyr::mutate(., t_index = seq_len(n()))`: i In argument: `t_index = seq_len(n())`. Caused by error in `n()`: ! could not find function "n" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-bglmar1.R:29:3 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. ├─EconCausal:::ec_without_libraries(...) 8. │ └─base::force(expr) at ./helper-econcausal.R:83:3 9. ├─EconCausal::bglmar1(...) 10. │ └─DATA %>% dplyr::arrange(.data$Month) %>% ... 11. ├─dplyr::mutate(., t_index = seq_len(n())) 12. ├─dplyr:::mutate.data.frame(., t_index = seq_len(n())) 13. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 14. │ ├─base::withCallingHandlers(...) 15. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 16. │ └─mask$eval_all_mutate(quo) 17. │ └─dplyr (local) eval() 18. └─dplyr (local) ``(``) 19. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-bsts_model.R:7:3'): bsts_model() names 'bsts' when that package is missing ── Error: `path` does not exist: '/var/folders/pk/n4bndnt1287ctrd_ftthnnnr0000gp/T//Rtmppnwqqj/working_dir/RtmpS1GoOF/econcausal-missing-f8016438ab04.xlsx' Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-bsts_model.R:7:3 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. ├─EconCausal:::ec_without_libraries(...) 8. │ └─base::force(expr) at ./helper-econcausal.R:83:3 9. ├─EconCausal::bsts_model(...) 10. │ ├─... %>% ensure_time_index() 11. │ └─readxl::read_excel(data_path) 12. │ └─readxl:::check_file(path) 13. ├─EconCausal (local) ensure_time_index(.) 14. │ └─"Month" %in% names(df) 15. └─dplyr::rename_with(., simple_name) [ FAIL 2 | WARN 0 | SKIP 2 | PASS 69 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [11s/15s] OK * 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/EconCausal.Rcheck/00check.log’ for details. 46.78 real 24.20 user 13.33 sys