- using R Under development (unstable) (2025-02-02 r87676)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘bupaR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘bupaR’ version ‘0.5.4’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘edeaR’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘bupaR’ can be installed ... [7s/11s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [1s/2s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [6s/7s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [1s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [8s/15s] ERROR
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
- checking PDF version of manual ... [8s/16s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '