CRAN Package Check Results for Package RegDDM

Last updated on 2026-09-04 02:51:08 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1 3.34 59.15 62.49 OK
r-devel-linux-x86_64-debian-gcc 1.1 2.37 46.68 49.05 ERROR
r-devel-linux-x86_64-fedora-clang 1.1 43.07 OK
r-devel-linux-x86_64-fedora-gcc 1.1 41.49 OK
r-devel-windows-x86_64 1.1 6.00 77.00 83.00 ERROR
r-patched-linux-x86_64 1.1 3.35 55.41 58.76 OK
r-release-linux-x86_64 1.1 3.19 56.85 60.04 OK
r-release-macos-arm64 1.1 1.00 18.00 19.00 OK
r-release-macos-x86_64 1.1 2.00 70.00 72.00 OK
r-release-windows-x86_64 1.1 5.00 75.00 80.00 OK
r-oldrel-macos-arm64 1.1 OK
r-oldrel-macos-x86_64 1.1 2.00 69.00 71.00 OK
r-oldrel-windows-x86_64 1.1 7.00 93.00 100.00 OK

Check Details

Version: 1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/22s] 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(RegDDM) > > test_check("RegDDM") Saving _problems/test-RegDDM-33.R [ FAIL 1 | WARN 0 | SKIP 6 | PASS 13 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test-RegDDM.R:100:3', 'test-RegDDM.R:129:3', 'test-RegDDM.R:146:3', 'test-RegDDM.R:187:3', 'test-RegDDM.R:233:3', 'test-RegDDM.R:271:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-RegDDM.R:33:3'): data check works ────────────────────────────── Error in `rstan::stanc(stan_filename)`: 0 Syntax error in 'string', line 10, column 15 to column 16, parsing error: ------------------------------------------------- 8: 9: // response, response time and subject id of each trial 10: int response[n]; ^ 11: real<lower = 0> rt[n]; 12: int id[n]; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[n] int response; Backtrace: ▆ 1. ├─testthat::expect_warning(regddm(data1, data2, model, fit_model = FALSE)) at test-RegDDM.R:33: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. └─RegDDM::regddm(data1, data2, model, fit_model = FALSE) 8. └─rstan::stanc(stan_filename) [ FAIL 1 | WARN 0 | SKIP 6 | PASS 13 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1
Check: tests
Result: ERROR Running 'testthat.R' [24s] 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(RegDDM) > > test_check("RegDDM") Saving _problems/test-RegDDM-33.R [ FAIL 1 | WARN 0 | SKIP 6 | PASS 13 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test-RegDDM.R:100:3', 'test-RegDDM.R:129:3', 'test-RegDDM.R:146:3', 'test-RegDDM.R:187:3', 'test-RegDDM.R:233:3', 'test-RegDDM.R:271:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-RegDDM.R:33:3'): data check works ────────────────────────────── Error in `rstan::stanc(stan_filename)`: 0 Syntax error in 'string', line 10, column 15 to column 16, parsing error: ------------------------------------------------- 8: 9: // response, response time and subject id of each trial 10: int response[n]; ^ 11: real<lower = 0> rt[n]; 12: int id[n]; ------------------------------------------------- Ill-formed declaration. ";" expected after variable declaration. It looks like you are trying to use the old array syntax. Please use the new syntax: array[n] int response; Backtrace: ▆ 1. ├─testthat::expect_warning(regddm(data1, data2, model, fit_model = FALSE)) at test-RegDDM.R:33: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. └─RegDDM::regddm(data1, data2, model, fit_model = FALSE) 8. └─rstan::stanc(stan_filename) [ FAIL 1 | WARN 0 | SKIP 6 | PASS 13 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64