Running ‘testthat.R’ [115s/196s]
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: /home/hornik/tmp/scratch/Rtmps3pzhY/emuR_testthat/ae_emuDB/bundleLists)! Creating directory..."
  
    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
  [ FAIL 6 | WARN 201 | SKIP 37 | PASS 805 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  • empty test (29)
  • skipping as it takes 4 ever to test -> make sure to rerun on deploy (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_emuR-annotations_crud.R:189:3'): create_itemsInLevel in SEGMENT levels works as expected ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─emuR::add_levelDefinition(...) at test_emuR-annotations_crud.R:189:2
    2. │ └─emuR:::rewrite_annots(emuDBhandle, verbose = verbose)
    3. │   └─emuR:::bundleAnnotDFsToAnnotJSONchar(emuDBhandle, bundleAnnotDFs)
    4. │     ├─... %>% ...
    5. │     ├─dplyr::full_join(annotDFs$items, attrDefs, by = c("level"))
    6. │     └─dplyr:::full_join.data.frame(annotDFs$items, attrDefs, by = c("level"))
    7. │       └─dplyr:::join_mutate(...)
    8. │         ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
    9. │         └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   10. │           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │               ├─base::withCallingHandlers(...)
   13. │               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─dplyr::left_join(., annotDFs$labels, by = c("item_id", "name"))
  ── Error ('test_emuR-convert_BPFCollection.R:558:13'): Correct call with necessary arguments ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─emuR::convert_BPFCollection(...) at test_emuR-convert_BPFCollection.R:558:12
    2. │ └─emuR:::rewrite_annots(dbHandle, verbose = verbose)
    3. │   └─emuR:::bundleAnnotDFsToAnnotJSONchar(emuDBhandle, bundleAnnotDFs)
    4. │     ├─... %>% ...
    5. │     ├─dplyr::full_join(annotDFs$items, attrDefs, by = c("level"))
    6. │     └─dplyr:::full_join.data.frame(annotDFs$items, attrDefs, by = c("level"))
    7. │       └─dplyr:::join_mutate(...)
    8. │         ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
    9. │         └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   10. │           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │               ├─base::withCallingHandlers(...)
   13. │               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─dplyr::left_join(., annotDFs$labels, by = c("item_id", "name"))
  ── Error ('test_emuR-database.DBconfig.R:164:5'): add = (C)RUD ─────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─emuR::add_levelDefinition(ae, "Phonetic2", "SEGMENT", verbose = F) at test_emuR-database.DBconfig.R:164:4
    2. │ └─emuR:::rewrite_annots(emuDBhandle, verbose = verbose)
    3. │   └─emuR:::bundleAnnotDFsToAnnotJSONchar(emuDBhandle, bundleAnnotDFs)
    4. │     ├─... %>% ...
    5. │     ├─dplyr::full_join(annotDFs$items, attrDefs, by = c("level"))
    6. │     └─dplyr:::full_join.data.frame(annotDFs$items, attrDefs, by = c("level"))
    7. │       └─dplyr:::join_mutate(...)
    8. │         ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
    9. │         └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   10. │           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │               ├─base::withCallingHandlers(...)
   13. │               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─dplyr::left_join(., annotDFs$labels, by = c("item_id", "name"))
  ── Error ('test_emuR-database.DBconfig.R:225:5'): remove = CRU(D) ──────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─emuR::remove_levelDefinition(ae, name = "Phonetic2", verbose = F) at test_emuR-database.DBconfig.R:225:4
    2. │ └─emuR:::rewrite_annots(emuDBhandle, verbose = verbose)
    3. │   └─emuR:::bundleAnnotDFsToAnnotJSONchar(emuDBhandle, bundleAnnotDFs)
    4. │     ├─... %>% ...
    5. │     ├─dplyr::full_join(annotDFs$items, attrDefs, by = c("level"))
    6. │     └─dplyr:::full_join.data.frame(annotDFs$items, attrDefs, by = c("level"))
    7. │       └─dplyr:::join_mutate(...)
    8. │         ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
    9. │         └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   10. │           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │               ├─base::withCallingHandlers(...)
   13. │               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─dplyr::left_join(., annotDFs$labels, by = c("item_id", "name"))
  ── Error ('test_emuR-database.R:684:3'): rename bundles works correctly ────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, 1, , value = `<tibble[,3]>`) at test_emuR-database.R:684:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 1, , value = `<tibble[,3]>`) at test_emuR-database.R:684:2
   3.   └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   4.     └─tibble:::tbl_subassign_row(xo, i, value, i_arg, value_arg, call)
   5.       ├─base::withCallingHandlers(...)
   6.       └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_emuR-requery.database.R:77:3'): Requery sequential produces correct NA rows ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(requery_seq(ae, sl, offset = -1, ignoreOutOfBounds = T)) at test_emuR-requery.database.R:77:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─emuR::requery_seq(ae, sl, offset = -1, ignoreOutOfBounds = T)
    7.   ├─base::`[<-`(`*tmp*`, is.na(joined_with_orig_sl$labels), , value = `<lgl>`)
    8.   └─tibble:::`[<-.tbl_df`(...)
    9.     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   10.       └─tibble:::tbl_subassign_row(xo, i, value, i_arg, value_arg, call)
   11.         ├─base::withCallingHandlers(...)
   12.         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 6 | WARN 201 | SKIP 37 | PASS 805 ]
  Error: Test failures
  In addition: Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted