Running ‘testthat.R’ [7s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bupaR)
  
  Attaching package: 'bupaR'
  
  The following object is masked from 'package:stats':
  
      filter
  
  The following object is masked from 'package:utils':
  
      timestamp
  
  > library(eventdataR)
  > 
  > test_check("bupaR")
  [ FAIL 4 | WARN 4 | SKIP 10 | PASS 306 ]
  
  ══ Skipped tests (10) ══════════════════════════════════════════════════════════
  • On CRAN (2): 'test_add_end_activity.R:57:3', 'test_add_start_activity.R:57:3'
  • TODO: rewrite ordered fails (1): 'test_last_n.R:73:3'
  • TODO: rewrite slice tests (2): 'test_slice.R:3:2', 'test_slice.R:8:2'
  • codes fails on ordered (1): 'test_first_n.R:68:3'
  • empty test (1): 'test_re_map.R:2:1'
  • grouped_activitylog not fully functional yet (2): 'test_case_list.R:91:3',
    'test_cases.R:86:3'
  • problem with grouped eventlogs (1): 'test_slice_sample.R:87:2'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_add_end_activity.R:133:3'): test add_end_activity on activitylog ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'edeaR'
  Backtrace:
      ▆
   1. ├─end %>% edeaR::filter_activity("End") %>% ... at test_add_end_activity.R:133:3
   2. ├─dplyr::arrange(., .data[["complete"]])
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_add_end_activity.R:156:3'): test add_end_activity on activitylog with arg `label` ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'edeaR'
  Backtrace:
      ▆
   1. ├─end %>% edeaR::filter_activity("end case") %>% ... at test_add_end_activity.R:156:3
   2. ├─dplyr::arrange(., .data[["complete"]])
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_add_start_activity.R:133:3'): test add_start_activity on activitylog ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'edeaR'
  Backtrace:
      ▆
   1. ├─start %>% edeaR::filter_activity("Start") %>% ... at test_add_start_activity.R:133:3
   2. ├─dplyr::arrange(., .data[["complete"]])
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test_add_start_activity.R:156:3'): test add_start_activity on activitylog with arg `label` ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'edeaR'
  Backtrace:
      ▆
   1. ├─start %>% edeaR::filter_activity("start case") %>% ... at test_add_start_activity.R:156:3
   2. ├─dplyr::arrange(., .data[["complete"]])
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 4 | WARN 4 | SKIP 10 | PASS 306 ]
  Error: Test failures
  Execution halted