Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(CPAT)
  Package 'CPAT' version 0.1.0
  Type citation("CPAT") for citing this R package in publications
  > 
  > test_check("CPAT")
  Saving _problems/test-TestStatisticsFunctions-70.R
  Saving _problems/test-TestStatisticsFunctions-98.R
  Saving _problems/test-TestStatisticsFunctions-126.R
  Saving _problems/test-TestStatisticsFunctions-154.R
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 97 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-TestStatisticsFunctions.R:68:3'): stat_Zn() functions properly ──
  Error in `custom_var_temp(x = dat, .lazy = FALSE, ...)`: unused argument (.lazy = FALSE)
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-TestStatisticsFunctions.R:68:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─CPAT:::stat_Zn(...)
   5.   └─base::vapply(1:length(dat), custom_var, FUN.VALUE = numeric(1))
   6.     └─CPAT (local) FUN(X[[i]], ...)
  ── Error ('test-TestStatisticsFunctions.R:96:3'): stat_Vn() functions properly ──
  Error in `custom_var_temp(x = dat, .lazy = FALSE, ...)`: unused argument (.lazy = FALSE)
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-TestStatisticsFunctions.R:96:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─CPAT:::stat_Vn(...)
   5.   └─base::vapply(1:length(dat), custom_var, FUN.VALUE = numeric(1))
   6.     └─CPAT (local) FUN(X[[i]], ...)
  ── Error ('test-TestStatisticsFunctions.R:124:3'): stat_de() functions properly ──
  Error in `custom_var_temp(x = dat, .lazy = FALSE, ...)`: unused argument (.lazy = FALSE)
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-TestStatisticsFunctions.R:124:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─CPAT:::stat_de(...)
   5.   └─CPAT:::stat_Vn(...)
   6.     └─base::vapply(1:length(dat), custom_var, FUN.VALUE = numeric(1))
   7.       └─CPAT (local) FUN(X[[i]], ...)
  ── Error ('test-TestStatisticsFunctions.R:152:3'): stat_hs() functions properly ──
  Error in `custom_var_temp(x = dat, .lazy = FALSE, ...)`: unused argument (.lazy = FALSE)
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-TestStatisticsFunctions.R:152:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─CPAT:::stat_hs(...)
   5.   └─base::vapply(1:length(dat), custom_var, FUN.VALUE = numeric(1))
   6.     └─CPAT (local) FUN(X[[i]], ...)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 97 ]
  Error:
  ! Test failures.
  Execution halted