Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(IncDTW)
  
  Attaching package: 'IncDTW'
  
  The following object is masked from 'package:grDevices':
  
      cm
  
  The following objects are masked from 'package:base':
  
      norm, scale
  
  > 
  > test_check("IncDTW")
  [1] 15254
  [ FAIL 4 | WARN 0 | SKIP 12 | PASS 98 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  •  (4)
  •  there is no bug! (1)
  • blabla (1)
  • comparison 01-z (1)
  • runtime comparison (3)
  • speed comparison (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_cm.R:2:1): (code run outside of `test_that()`) ──────────────────
  <packageNotFoundError/error/condition>
  Error in `library(dtw)`: there is no package called 'dtw'
  Backtrace:
      ▆
   1. └─base::library(dtw) at test_cm.R:2:0
  ── Error (test_dtw.R:2:1): (code run outside of `test_that()`) ─────────────────
  <packageNotFoundError/error/condition>
  Error in `library(dtw)`: there is no package called 'dtw'
  Backtrace:
      ▆
   1. └─base::library(dtw) at test_dtw.R:2:0
  ── Error (test_multivariate.R:49:4): IncDTW::dtw2vec EQUAL dtw::dtw __ multivariate, norm2 ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'dtw'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test_multivariate.R:49:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_multivariate.R:98:4): IncDTW::dtw2vec EQUAL dtw::dtw __ multivariate, norm1 ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'dtw'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test_multivariate.R:98:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  
  [ FAIL 4 | WARN 0 | SKIP 12 | PASS 98 ]
  Error: Test failures
  Execution halted