CRAN Package Check Results for Package EconCausal

Last updated on 2026-09-18 03:51:06 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 3.78 46.25 50.03 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 2.70 36.60 39.30 OK
r-devel-linux-x86_64-fedora-clang 1.0.4 41.61 OK
r-devel-linux-x86_64-fedora-gcc 1.0.4 48.42 ERROR
r-devel-windows-x86_64 1.0.2 6.00 68.00 74.00 OK
r-patched-linux-x86_64 1.0.2 3.78 41.83 45.61 OK
r-release-linux-x86_64 1.0.2 3.37 41.85 45.22 OK
r-release-macos-arm64 1.0.2 1.00 20.00 21.00 OK
r-release-macos-x86_64 1.0.4 3.00 72.00 75.00 OK
r-release-windows-x86_64 1.0.2 6.00 62.00 68.00 OK
r-oldrel-macos-arm64 1.0.4 1.00 30.00 31.00 OK
r-oldrel-macos-x86_64 1.0.4 3.00 76.00 79.00 OK
r-oldrel-windows-x86_64 1.0.2 7.00 75.00 82.00 OK

Check Details

Version: 1.0.4
Check: tests
Result: ERROR Running ‘testthat.R’ 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 1 | PASS 71 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • 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 ── <dplyr:::mutate_error/rlang_error/error/condition> 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) `<fn>`(`<fnctnNFE>`) 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: '/tmp/Rtmp1Xn2W1/working_dir/RtmpsVWh1v/econcausal-missing-24b01a5c0ac391.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 1 | PASS 71 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc