- using R version 4.4.1 (2024-06-14)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘emuR/DESCRIPTION’ ... OK
- this is package ‘emuR’ version ‘2.5.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- 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 ‘emuR’ can be installed ... [16s/39s] 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/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [1s/1s] 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 ... [26s/52s] OK
- checking Rd files ... [2s/4s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [6s/11s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [85s/199s] ERROR
Running ‘testthat.R’ [85s/198s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("emuR")
Loading required package: emuR
Attaching package: 'emuR'
The following object is masked from 'package:base':
norm
[1] "INFO: No bundleList dir found in emuDB (path: /Volumes/Temp/tmp/RtmpzbYhAt/emuR_testthat/ae_emuDB/bundleLists)! Creating directory..."
Saving _problems/test_emuR-database.DBconfig-73.R
Saving _problems/test_emuR-database.DBconfig-84.R
Saving _problems/test_emuR-database.DBconfig-85.R
Saving _problems/test_emuR-database.DBconfig-86.R
Saving _problems/test_emuR-database.DBconfig-95.R
Saving _problems/test_emuR-database-693.R
Saving _problems/test_emuR-database.files-87.R
INFO: parsing 14 fms segments/events
|
| | 0%
|
|===== | 7%
|
|========== | 14%
|
|=============== | 21%
|
|==================== | 29%
|
|========================= | 36%
|
|============================== | 43%
|
|=================================== | 50%
|
|======================================== | 57%
|
|============================================= | 64%
|
|================================================== | 71%
|
|======================================================= | 79%
|
|============================================================ | 86%
|
|================================================================= | 93%
|
|======================================================================| 100%
INFO: parsing 14 fms segments/events
|
| | 0%
|
|===== | 7%
|
|========== | 14%
|
|=============== | 21%
|
|==================== | 29%
|
|========================= | 36%
|
|============================== | 43%
|
|=================================== | 50%
|
|======================================== | 57%
|
|============================================= | 64%
|
|================================================== | 71%
|
|======================================================= | 79%
|
|============================================================ | 86%
|
|================================================================= | 93%
|
|======================================================================| 100%
Read 16 items
Read 12 records
Read 24 items
Read 20 records
Saving _problems/test_emuR-get_trackdata-257.R
[ FAIL 8 | WARN 0 | SKIP 19 | PASS 830 ]
══ Skipped tests (19) ══════════════════════════════════════════════════════════
• On CRAN (7): 'test_emuR-autobuild.R:19:3', 'test_emuR-database.R:643:3',
'test_emuR-database.R:717:3', 'test_emuR-query.database.R:378:5',
'test_emuR-query.database.R:631:5', 'test_emuR-query.database.R:643:5',
'test_emuR-query.database.R:650:5'
• empty test (10): , 'test_emuR-convert_BPFCollection.R:516:1',
'test_emuR-database.DBconfig.EMUwebAppConfig.R:49:3',
'test_emuR-database.DBconfig.EMUwebAppConfig.R:98:3',
'test_emuR-database.DBconfig.EMUwebAppConfig.R:102:3',
'test_emuR-database.DBconfig.EMUwebAppConfig.R:147:3',
'test_emuR-database.DBconfig.EMUwebAppConfig.R:151:3',
'test_emuR-database.DBconfig.R:524:3', 'test_emuR-query.database.R:17:1',
• skipping as it takes 4 ever to test -> make sure to rerun on deploy (2):
'test_emuR-bas_webservices.R:12:13', 'test_emuR-bas_webservices.R:30:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_emuR-database.DBconfig.R:67:5'): CRUD operations work for ssffTrackDefinitions / add = (C)RUD ──
Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize()
Backtrace:
▆
1. ├─emuR::add_ssffTrackDefinition(...) at test_emuR-database.DBconfig.R:67:5
2. │ └─emuR::list_files(emuDBhandle, fileExtension)
3. │ └─... %>% ...
4. ├─dplyr::mutate(...)
5. ├─dplyr::filter(., stringr::str_detect(.data$bundle, bundlePattern))
6. ├─dplyr::filter(., stringr::str_detect(.data$session, sessionPattern))
7. ├─dplyr::mutate(., bundle = stringr::str_remove(.data$bundle, "_bndl$"))
8. ├─dplyr::mutate(...)
9. ├─dplyr::filter(., endsWith(.data$bundle, "_bndl"))
10. ├─dplyr::filter(., endsWith(.data$session, "_ses"))
11. ├─dplyr::filter(., !is.na(.data$file))
12. ├─dplyr::filter(., !is.na(.data$bundle))
13. ├─dplyr::filter(., !is.na(.data$session))
14. ├─tidyr::separate(...)
15. └─tidyr:::separate.data.frame(...)
16. └─tidyr:::str_separate(...)
17. └─tidyr:::str_split_fixed(...)
18. └─tidyr:::simplifyPieces(pieces, n, fill == "left")
── Failure ('test_emuR-database.DBconfig.R:84:5'): CRUD operations work for ssffTrackDefinitions / list = C(R)UD ──
Expected `df$name` to equal `c("dft", "fm", "newTrackName")`.
Differences:
Lengths differ: 2 is not 3
── Failure ('test_emuR-database.DBconfig.R:85:5'): CRUD operations work for ssffTrackDefinitions / list = C(R)UD ──
Expected `df$columnName` to equal `c("dft", "fm", "pitch")`.
Differences:
Lengths differ: 2 is not 3
── Failure ('test_emuR-database.DBconfig.R:86:5'): CRUD operations work for ssffTrackDefinitions / list = C(R)UD ──
Expected `df$fileExtension` to equal `c("dft", "fms", "pit")`.
Differences:
Lengths differ: 2 is not 3
── Error ('test_emuR-database.DBconfig.R:93:5'): CRUD operations work for ssffTrackDefinitions / remove = CRU(D) ──
Error in `remove_ssffTrackDefinition(ae, name = "newTrackName", deleteFiles = TRUE)`: No ssffTrackDefinitions found with name: 'newTrackName'
Backtrace:
▆
1. └─emuR::remove_ssffTrackDefinition(ae, name = "newTrackName", deleteFiles = TRUE) at test_emuR-database.DBconfig.R:93:5
── Error ('test_emuR-database.R:693:3'): rename bundles works correctly ────────
Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize()
Backtrace:
▆
1. ├─emuR::rename_bundles(db, bundles) at test_emuR-database.R:693:3
2. │ └─emuR::list_files(...)
3. │ └─... %>% ...
4. ├─dplyr::mutate(...)
5. ├─dplyr::filter(., stringr::str_detect(.data$bundle, bundlePattern))
6. ├─dplyr::filter(., stringr::str_detect(.data$session, sessionPattern))
7. ├─dplyr::mutate(., bundle = stringr::str_remove(.data$bundle, "_bndl$"))
8. ├─dplyr::mutate(...)
9. ├─dplyr::filter(., endsWith(.data$bundle, "_bndl"))
10. ├─dplyr::filter(., endsWith(.data$session, "_ses"))
11. ├─dplyr::filter(., !is.na(.data$file))
12. ├─dplyr::filter(., !is.na(.data$bundle))
13. ├─dplyr::filter(., !is.na(.data$session))
14. ├─tidyr::separate(...)
15. └─tidyr:::separate.data.frame(...)
16. └─tidyr:::str_separate(...)
17. └─tidyr:::str_split_fixed(...)
18. └─tidyr:::simplifyPieces(pieces, n, fill == "left")
── Error ('test_emuR-database.files.R:87:7'): file operations work / CRUD operations for files work / list = C(R)UD ──
Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize()
Backtrace:
▆
1. ├─emuR::list_files(ae) at test_emuR-database.files.R:87:7
2. │ └─... %>% ...
3. ├─dplyr::mutate(...)
4. ├─dplyr::filter(., stringr::str_detect(.data$bundle, bundlePattern))
5. ├─dplyr::filter(., stringr::str_detect(.data$session, sessionPattern))
6. ├─dplyr::mutate(., bundle = stringr::str_remove(.data$bundle, "_bndl$"))
7. ├─dplyr::mutate(...)
8. ├─dplyr::filter(., endsWith(.data$bundle, "_bndl"))
9. ├─dplyr::filter(., endsWith(.data$session, "_ses"))
10. ├─dplyr::filter(., !is.na(.data$file))
11. ├─dplyr::filter(., !is.na(.data$bundle))
12. ├─dplyr::filter(., !is.na(.data$session))
13. ├─tidyr::separate(...)
14. └─tidyr:::separate.data.frame(...)
15. └─tidyr:::str_separate(...)
16. └─tidyr:::str_split_fixed(...)
17. └─tidyr:::simplifyPieces(pieces, n, fill == "left")
── Error ('test_emuR-get_trackdata.R:257:3'): non wrassp functions work ────────
Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize()
Backtrace:
▆
1. ├─emuR::list_files(ae, fileExtension = "fms") at test_emuR-get_trackdata.R:257:3
2. │ └─... %>% ...
3. ├─dplyr::mutate(...)
4. ├─dplyr::filter(., stringr::str_detect(.data$bundle, bundlePattern))
5. ├─dplyr::filter(., stringr::str_detect(.data$session, sessionPattern))
6. ├─dplyr::mutate(., bundle = stringr::str_remove(.data$bundle, "_bndl$"))
7. ├─dplyr::mutate(...)
8. ├─dplyr::filter(., endsWith(.data$bundle, "_bndl"))
9. ├─dplyr::filter(., endsWith(.data$session, "_ses"))
10. ├─dplyr::filter(., !is.na(.data$file))
11. ├─dplyr::filter(., !is.na(.data$bundle))
12. ├─dplyr::filter(., !is.na(.data$session))
13. ├─tidyr::separate(...)
14. └─tidyr:::separate.data.frame(...)
15. └─tidyr:::str_separate(...)
16. └─tidyr:::str_split_fixed(...)
17. └─tidyr:::simplifyPieces(pieces, n, fill == "left")
[ FAIL 8 | WARN 0 | SKIP 19 | PASS 830 ]
Error:
! Test failures.
Warning message:
call dbDisconnect() when finished working with a connection
Execution halted
- checking PDF version of manual ... [13s/29s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '