Running ‘testthat.R’ [85s/230s]
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/RtmpE4ffwQ/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