Running ‘testthat.R’ [154s/168s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mcp)
  > 
  > test_check("mcp")
  ── 1. Failure: Good variance:
      y ~ 1 + sigma(x + I(x^2)) (@test-runs.R#277)  
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 2. Failure: Good variance:
      y ~ 1, ~0 + sigma(rel(1)), ~x + sigma(x), ~0 +
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 3. Failure: Good variance:
      y ~ 1, ~0 + sigma(rel(1)), ~x + sigma(x), ~0 +
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 4. Failure: Good ARMA:
      y ~ ar(1) + sigma(1 + x), ~ar(2, 1 + I(x^2)) + sig
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 5. Failure: Good ARMA:
      y ~ ar(1) + sigma(1 + x), ~ar(2, 1 + I(x^2)) + sig
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ── 6. Failure: Good Poisson:
      y ~ 1 + ar(1), ~1 + x + ar(2, 1 + x + I(x^3)) (
  any(stringr::str_starts(attr(gg, "condition")$message, expected_error)) isn't true.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1718 | SKIPPED: 1 | WARNINGS: 1 | FAILED: 6 ]
  1. Failure: Good variance:
      y ~ 1 + sigma(x + I(x^2)) (@test-runs.R#277) 
  2. Failure: Good variance:
      y ~ 1, ~0 + sigma(rel(1)), ~x + sigma(x), ~0 + sigma(rel(x)) (@test-runs.R#277) 
  3. Failure: Good variance:
      y ~ 1, ~0 + sigma(rel(1)), ~x + sigma(x), ~0 + sigma(rel(x)) (@test-runs.R#277) 
  4. Failure: Good ARMA:
      y ~ ar(1) + sigma(1 + x), ~ar(2, 1 + I(x^2)) + sigma(1) (@test-runs.R#277) 
  5. Failure: Good ARMA:
      y ~ ar(1) + sigma(1 + x), ~ar(2, 1 + I(x^2)) + sigma(1) (@test-runs.R#277) 
  6. Failure: Good Poisson:
      y ~ 1 + ar(1), ~1 + x + ar(2, 1 + x + I(x^3)) (@test-runs.R#277) 
  
  Error: testthat unit tests failed
  Execution halted