Running ‘testthat.R’ [159s/425s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pmpp)
  > 
  > test_check("pmpp", filter = "^((?!lint).*)$", perl = TRUE)
  [ FAIL 6 | WARN 1 | SKIP 0 | PASS 47 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-framework.R:15:3): the entire framework works with QMLEker ──────
  Error in `if (sign(fa) * sign(fb) > 0) stop("Function must differ in sign at interval endpoints.")`: the condition has length > 1
  Backtrace:
      ▆
   1. └─pmpp::pmpp(dep_var = "emp", post_mean_method = "kernel", data = EmplUK) at test-framework.R:15:2
   2.   ├─base::suppressWarnings(...)
   3.   │ └─base::withCallingHandlers(...)
   4.   └─pmpp:::get_kernel(...)
   5.     └─pmpp::kde2D(...)
   6.       └─pracma::fzero(subtract_evolve, c(0, 0.1))
   7.         └─pracma:::.zeroin(f, a, b, maxiter = maxiter, tol = tol)
  ── Error (test-framework.R:35:3): the entire framework works with ABondker ─────
  Error in `if (sign(fa) * sign(fb) > 0) stop("Function must differ in sign at interval endpoints.")`: the condition has length > 1
  Backtrace:
      ▆
   1. └─pmpp::pmpp(...) at test-framework.R:35:2
   2.   ├─base::suppressWarnings(...)
   3.   │ └─base::withCallingHandlers(...)
   4.   └─pmpp:::get_kernel(...)
   5.     └─pmpp::kde2D(...)
   6.       └─pracma::fzero(subtract_evolve, c(0, 0.1))
   7.         └─pracma:::.zeroin(f, a, b, maxiter = maxiter, tol = tol)
  ── Error (test-framework.R:55:3): the entire framework works with BBondker ─────
  Error in `if (sign(fa) * sign(fb) > 0) stop("Function must differ in sign at interval endpoints.")`: the condition has length > 1
  Backtrace:
      ▆
   1. └─pmpp::pmpp(...) at test-framework.R:55:2
   2.   ├─base::suppressWarnings(...)
   3.   │ └─base::withCallingHandlers(...)
   4.   └─pmpp:::get_kernel(...)
   5.     └─pmpp::kde2D(...)
   6.       └─pracma::fzero(subtract_evolve, c(0, 0.1))
   7.         └─pracma:::.zeroin(f, a, b, maxiter = maxiter, tol = tol)
  ── Error (test-framework.R:75:3): the entire framework works with ABoverker ────
  Error in `if (sign(fa) * sign(fb) > 0) stop("Function must differ in sign at interval endpoints.")`: the condition has length > 1
  Backtrace:
      ▆
   1. └─pmpp::pmpp(...) at test-framework.R:75:2
   2.   ├─base::suppressWarnings(...)
   3.   │ └─base::withCallingHandlers(...)
   4.   └─pmpp:::get_kernel(...)
   5.     └─pmpp::kde2D(...)
   6.       └─pracma::fzero(subtract_evolve, c(0, 0.1))
   7.         └─pracma:::.zeroin(f, a, b, maxiter = maxiter, tol = tol)
  ── Error (test-framework.R:95:3): the entire framework works with SSYSker ──────
  Error in `if (sign(fa) * sign(fb) > 0) stop("Function must differ in sign at interval endpoints.")`: the condition has length > 1
  Backtrace:
      ▆
   1. └─pmpp::pmpp(...) at test-framework.R:95:2
   2.   ├─base::suppressWarnings(...)
   3.   │ └─base::withCallingHandlers(...)
   4.   └─pmpp:::get_kernel(...)
   5.     └─pmpp::kde2D(...)
   6.       └─pracma::fzero(subtract_evolve, c(0, 0.1))
   7.         └─pracma:::.zeroin(f, a, b, maxiter = maxiter, tol = tol)
  ── Error (test-other_funcs.R:37:3): kde2d function works ───────────────────────
  Error in `if (sign(fa) * sign(fb) > 0) stop("Function must differ in sign at interval endpoints.")`: the condition has length > 1
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(kde2D(data)) at test-other_funcs.R:37:2
   2. │ └─base::withCallingHandlers(...)
   3. └─pmpp::kde2D(data)
   4.   └─pracma::fzero(subtract_evolve, c(0, 0.1))
   5.     └─pracma:::.zeroin(f, a, b, maxiter = maxiter, tol = tol)
  
  [ FAIL 6 | WARN 1 | SKIP 0 | PASS 47 ]
  Error: Test failures
  Execution halted