'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(SCPME)
  Loading required package: Rcpp
  Loading required package: RcppProgress
  Loading required package: doParallel
  Loading required package: foreach
  Loading required package: iterators
  Loading required package: parallel
  > 
  > test_check("SCPME")
  
  Optimal tuning parameter on boundary...!
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (testSCPME.R:30:1): (code run outside of `test_that()`) ─────────────
  `shrink(data$X, data$Y, path = TRUE, trace = "none")` threw an error.
  Message: 'length = 5' in coercion to 'logical(1)'
  Class:   simpleError/error/condition
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at testSCPME.R:30:0
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─SCPME::shrink(data$X, data$Y, path = TRUE, trace = "none")
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(SCPME)
  Loading required package: Rcpp
  Loading required package: RcppProgress
  Loading required package: doParallel
  Loading required package: foreach
  Loading required package: iterators
  Loading required package: parallel
  > 
  > test_check("SCPME")
  
  Optimal tuning parameter on boundary...!
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (testSCPME.R:30:1): (code run outside of `test_that()`) ─────────────
  `shrink(data$X, data$Y, path = TRUE, trace = "none")` threw an error.
  Message: 'length = 5' in coercion to 'logical(1)'
  Class:   simpleError/error/condition
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at testSCPME.R:30:0
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─SCPME::shrink(data$X, data$Y, path = TRUE, trace = "none")
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 11 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory