Running ‘testthat.R’ [7s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dynparam)
  > 
  > test_check("dynparam")
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-set.R:32:3): works with one parameter ─────────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(ph$pars$epsilon, as_paramhelper(epsilon_p)) test-set.R:32:2
   3. testthat:::compare.default(act$val, exp$val, ...)
   5. base::all.equal.default(x, y, ...)
   6. base::all.equal.list(target, current, ...)
   8. base::all.equal.default(...)
   9. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:121:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
    1. testthat::expect_equal(ph$pars$num_iter, as_paramhelper(num_iter_p)) test-set.R:121:2
    3. testthat:::compare.default(act$val, exp$val, ...)
    5. base::all.equal.default(x, y, ...)
    6. base::all.equal.list(target, current, ...)
    8. base::all.equal.function(...)
    9. base::all.equal.environment(...)
   10. base::all.equal.list(Lt, Lc, ...)
   12. base::all.equal.default(...)
   13. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:121:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
    1. testthat::expect_equal(ph$pars$num_iter, as_paramhelper(num_iter_p)) test-set.R:121:2
    3. testthat:::compare.default(act$val, exp$val, ...)
    5. base::all.equal.default(x, y, ...)
    6. base::all.equal.list(target, current, ...)
    8. base::all.equal.function(...)
    9. base::all.equal.environment(...)
   10. base::all.equal.list(Lt, Lc, ...)
   12. base::all.equal.default(...)
   13. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:122:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(ph$pars$delta, as_paramhelper(delta_p)) test-set.R:122:2
   3. testthat:::compare.default(act$val, exp$val, ...)
   5. base::all.equal.default(x, y, ...)
   6. base::all.equal.list(target, current, ...)
   8. base::all.equal.default(...)
   9. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:125:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(ph$pars$dimred, as_paramhelper(dimred_p)) test-set.R:125:2
   3. testthat:::compare.default(act$val, exp$val, ...)
   5. base::all.equal.default(x, y, ...)
   6. base::all.equal.list(target, current, ...)
   8. base::all.equal.default(...)
   9. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:126:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(ph$pars$ks, as_paramhelper(ks_p)) test-set.R:126:2
   3. testthat:::compare.default(act$val, exp$val, ...)
   5. base::all.equal.default(x, y, ...)
   6. base::all.equal.list(target, current, ...)
   8. base::all.equal.default(...)
   9. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:126:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
    1. testthat::expect_equal(ph$pars$ks, as_paramhelper(ks_p)) test-set.R:126:2
    3. testthat:::compare.default(act$val, exp$val, ...)
    5. base::all.equal.default(x, y, ...)
    6. base::all.equal.list(target, current, ...)
    8. base::all.equal.default(...)
    9. base::all.equal.function(target, current, ...)
   10. base::all.equal.environment(...)
   11. base::all.equal.list(Lt, Lc, ...)
   13. base::all.equal.default(...)
   14. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:126:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
    1. testthat::expect_equal(ph$pars$ks, as_paramhelper(ks_p)) test-set.R:126:2
    3. testthat:::compare.default(act$val, exp$val, ...)
    5. base::all.equal.default(x, y, ...)
    6. base::all.equal.list(target, current, ...)
    8. base::all.equal.default(...)
    9. base::all.equal.function(target, current, ...)
   10. base::all.equal.environment(...)
   11. base::all.equal.list(Lt, Lc, ...)
   13. base::all.equal.default(...)
   14. base::all.equal.function(target, current, ...)
   15. base::all.equal.environment(...)
   16. base::all.equal.list(Lt, Lc, ...)
   18. base::all.equal.default(...)
   19. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:126:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
    1. testthat::expect_equal(ph$pars$ks, as_paramhelper(ks_p)) test-set.R:126:2
    3. testthat:::compare.default(act$val, exp$val, ...)
    5. base::all.equal.default(x, y, ...)
    6. base::all.equal.list(target, current, ...)
    8. base::all.equal.default(...)
    9. base::all.equal.function(target, current, ...)
   10. base::all.equal.environment(...)
   11. base::all.equal.list(Lt, Lc, ...)
   13. base::all.equal.default(...)
   14. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:126:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
    1. testthat::expect_equal(ph$pars$ks, as_paramhelper(ks_p)) test-set.R:126:2
    3. testthat:::compare.default(act$val, exp$val, ...)
    5. base::all.equal.default(x, y, ...)
    6. base::all.equal.list(target, current, ...)
    8. base::all.equal.default(...)
    9. base::all.equal.function(target, current, ...)
   10. base::all.equal.environment(...)
   11. base::all.equal.list(Lt, Lc, ...)
   13. base::all.equal.default(...)
   14. base::all.equal.function(target, current, ...)
   15. base::all.equal.environment(...)
   16. base::all.equal.list(Lt, Lc, ...)
   18. base::all.equal.default(...)
   19. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:127:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
   1. testthat::expect_equal(ph$pars$quantiles, as_paramhelper(quantiles_p)) test-set.R:127:2
   3. testthat:::compare.default(act$val, exp$val, ...)
   5. base::all.equal.default(x, y, ...)
   6. base::all.equal.list(target, current, ...)
   8. base::all.equal.default(...)
   9. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:127:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
    1. testthat::expect_equal(ph$pars$quantiles, as_paramhelper(quantiles_p)) test-set.R:127:2
    3. testthat:::compare.default(act$val, exp$val, ...)
    5. base::all.equal.default(x, y, ...)
    6. base::all.equal.list(target, current, ...)
    8. base::all.equal.default(...)
    9. base::all.equal.function(target, current, ...)
   10. base::all.equal.environment(...)
   11. base::all.equal.list(Lt, Lc, ...)
   13. base::all.equal.default(...)
   14. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  ── Warning (test-set.R:127:3): works with many parameters ──────────────────────
  'all.equal.default(<function>)' is deprecated.
  Use 'all.equal(*)' instead.
  See help("Deprecated")
  Backtrace:
    1. testthat::expect_equal(ph$pars$quantiles, as_paramhelper(quantiles_p)) test-set.R:127:2
    3. testthat:::compare.default(act$val, exp$val, ...)
    5. base::all.equal.default(x, y, ...)
    6. base::all.equal.list(target, current, ...)
    8. base::all.equal.default(...)
    9. base::all.equal.function(target, current, ...)
   10. base::all.equal.environment(...)
   11. base::all.equal.list(Lt, Lc, ...)
   13. base::all.equal.default(...)
   14. base::.Deprecated("all.equal(*)", old = "all.equal.default(<function>)")
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-set.R:121:3): works with many parameters ──────────────────────
  ph$pars$num_iter not equal to as_paramhelper(num_iter_p).
  Component "trafo": Component ".GenericCallEnv": Names: 4 string mismatches
  Component "trafo": Component ".GenericCallEnv": Length mismatch: comparison on first 4 components
  Component "trafo": Component ".GenericCallEnv": Component 1: Modes of target, current: name, list
  Component "trafo": Component ".GenericCallEnv": Component 1: target, current do not match when deparsed
  Component "trafo": Component ".GenericCallEnv": Component 2: Modes of target, current: function, list
  Component "trafo": Component ".GenericCallEnv": Component 2: target, current do not match when deparsed
  Component "trafo": Component ".GenericCallEnv": Component 2: 'current' is not an environment
  Component "trafo": Component ".GenericCallEnv": Component 3: Names: 4 string mismatches
  Component "trafo": Component ".GenericCallEnv": Component 3: Attributes: < names for current but not for target >
  ...
  
  [ FAIL 1 | WARN 13 | SKIP 0 | PASS 402 ]
  Error: Test failures
  Execution halted