Running ‘testthat.R’ [72s/106s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mcp)
  > 
  > test_check("mcp")
  ── 1. Failure: Good priors: int_1, dnorm(3, 10), -0.5 (@test-runs.R#335)  ──────
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 2. Failure: Good priors: int_1, dnorm(3, 10), -0.5 (@test-runs.R#335)  ──────
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 3. Failure: Good priors: dunif(-100, -90), dnorm(100, 20) T(100, 110) (@test-
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 4. Failure: Good priors: dunif(-100, -90), dnorm(100, 20) T(100, 110) (@test-
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 5. Failure: Good priors: dirichlet(1), dirichlet(1) (@test-runs.R#335)  ─────
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 6. Failure: Good priors: dirichlet(1), dirichlet(1) (@test-runs.R#335)  ─────
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 7. Failure: Good priors: dirichlet(3), dirichlet(2) (@test-runs.R#335)  ─────
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 8. Failure: Good priors: dirichlet(3), dirichlet(2) (@test-runs.R#335)  ─────
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 9. Failure: Good y:
      y ~ 1, y ~ 1 ~ 1, rel(1) + (1 | id) ~ rel(1) + x, ~1 
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 10. Failure: Good y:
      y ~ 1, y ~ 1 ~ 1, rel(1) + (1 | id) ~ rel(1) + x, ~1
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 11. Failure: Good change points:
      y ~ 0, 1 + (1 | id) ~ 1 (@test-runs.R#27
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 12. Failure: Good change points:
      y ~ 0, 1 + (1 | id) ~ 1 (@test-runs.R#27
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 13. Failure: Good change points:
      y ~ 0, y ~ 1 ~ 1, rel(1) + (1 | id) ~ 0,
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 14. Failure: Good change points:
      y ~ 0, y ~ 1 ~ 1, rel(1) + (1 | id) ~ 0,
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 15. Failure: Good change points:
      y ~ 1, (1 | id) ~ 0 (@test-runs.R#277)  
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 16. Failure: Good change points:
      y ~ 1, (1 | id) ~ 0 (@test-runs.R#277)  
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 17. Failure: Good change points:
      y ~ 1, 1 + (1 | id) ~ 1, 1 + (1 | ok_id_
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 18. Failure: Good change points:
      y ~ 1, 1 + (1 | id) ~ 1, 1 + (1 | ok_id_
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 19. Failure: Good variance:
      y ~ 1, 1 + (1 | id) ~ rel(1) + I(x^2) + sigma
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 20. Failure: Good variance:
      y ~ 1, 1 + (1 | id) ~ rel(1) + I(x^2) + sigma
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 21. Failure: Good ARMA:
      y ~ 1, 1 + (1 | id) ~ rel(1) + I(x^2) + ar(2, rel
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 22. Failure: Good ARMA:
      y ~ 1, 1 + (1 | id) ~ rel(1) + I(x^2) + ar(2, rel
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 23. Failure: Good binomial:
      y | trials(N) ~ 1, 1 + (1 | id) ~ 1 (@test-ru
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 24. Failure: Good binomial:
      y | trials(N) ~ 1, 1 + (1 | id) ~ 1 (@test-ru
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 25. Failure: Good Bernoulli:
      y_bern ~ 1, 1 + (1 | id) ~ 1 (@test-runs.R#2
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 26. Failure: Good Bernoulli:
      y_bern ~ 1, 1 + (1 | id) ~ 1 (@test-runs.R#2
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 27. Failure: Good Poisson:
      y ~ 1, 1 + (1 | id) ~ 1 (@test-runs.R#277)  ──
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 28. Failure: Good Poisson:
      y ~ 1, 1 + (1 | id) ~ 1 (@test-runs.R#277)  ──
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1696 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 28 ]
  1. Failure: Good priors: int_1, dnorm(3, 10), -0.5 (@test-runs.R#335) 
  2. Failure: Good priors: int_1, dnorm(3, 10), -0.5 (@test-runs.R#335) 
  3. Failure: Good priors: dunif(-100, -90), dnorm(100, 20) T(100, 110) (@test-runs.R#335) 
  4. Failure: Good priors: dunif(-100, -90), dnorm(100, 20) T(100, 110) (@test-runs.R#335) 
  5. Failure: Good priors: dirichlet(1), dirichlet(1) (@test-runs.R#335) 
  6. Failure: Good priors: dirichlet(1), dirichlet(1) (@test-runs.R#335) 
  7. Failure: Good priors: dirichlet(3), dirichlet(2) (@test-runs.R#335) 
  8. Failure: Good priors: dirichlet(3), dirichlet(2) (@test-runs.R#335) 
  9. Failure: Good y:
      y ~ 1, y ~ 1 ~ 1, rel(1) + (1 | id) ~ rel(1) + x, ~1 (@test-runs.R#277) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted