Running 'spelling.R' [0s]
  Running 'testthat.R' [106s]
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(dcmstan)
  > 
  > test_check("dcmstan")
  Saving _problems/test-zzz-class-model-specification-64.R
  [ FAIL 1 | WARN 0 | SKIP 19 | PASS 383 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • No MCMC on CRAN (1): 'test-zzz-methods-stan-code.R:2:3'
  • On CRAN (18): 'test-gqs-default.R:1:1', 'test-meas-dina-dino.R:1:1',
    'test-meas-dina-dino.R:66:1', 'test-meas-lcdm-crum.R:1:1',
    'test-meas-lcdm-crum.R:57:1', 'test-meas-lcdm-crum.R:102:1',
    'test-meas-lcdm-crum.R:199:1', 'test-meas-ncrum.R:1:1',
    'test-meas-ncrum.R:41:1', 'test-meas-nida.R:1:1', 'test-meas-nida.R:41:1',
    'test-meas-nido.R:1:1', 'test-meas-nido.R:30:1', 'test-model-options.R:28:1',
    'test-zzz-class-model-priors.R:278:1',
    'test-zzz-class-model-specification.R:156:1',
    'test-zzz-methods-get-parameters.R:779:1',
    'test-zzz-methods-get-parameters.R:1018:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-zzz-class-model-specification.R:55:3'): dcm_specify errors when expected ──
  Error: <dcmstan::dcm_specification> object is invalid:
  - `priors` contain types not included in the model: "interaction"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-zzz-class-model-specification.R:55: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. └─dcmstan::dcm_specify(...)
    8.   └─dcmstan::dcm_specification(...)
    9.     └─S7::new_object(...)
   10.       └─S7::validate(object, recursive = !parent_validated)
  
  [ FAIL 1 | WARN 0 | SKIP 19 | PASS 383 ]
  Error:
  ! Test failures.
  Execution halted