Running 'testthat.R' [21s/23s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(LoopRig)
  > 
  > test_check("LoopRig")
  -- 1. Error: class output (@test-ElementsToRanges.R#32)  -----------------------
  trying to get slot "className" from an object of a basic class ("character") with no slots
  Backtrace:
    1. testthat::expect_is(...)
    4. LoopRig::ElementsToRanges(...)
    7. base::lapply(el_list, element_to_range)
    8. LoopRig:::FUN(X[[i]], ...)
    9. GenomicRanges::GRanges(...)
   10. S4Vectors::DataFrame(..., check.names = FALSE)
   11. methods::is(listData[[1L]], getClass("Annotated"))
  
  -- 2. Error: (unknown) (@test-ExportBED.R#23)  ---------------------------------
  trying to get slot "className" from an object of a basic class ("character") with no slots
  Backtrace:
   1. LoopRig::ElementsToRanges(...)
   4. base::lapply(el_list, element_to_range)
   5. LoopRig:::FUN(X[[i]], ...)
   6. GenomicRanges::GRanges(...)
   7. S4Vectors::DataFrame(..., check.names = FALSE)
   8. methods::is(listData[[1L]], getClass("Annotated"))
  
  -- 3. Error: (unknown) (@test-LinkedElements.R#14)  ----------------------------
  trying to get slot "className" from an object of a basic class ("character") with no slots
  Backtrace:
   1. LoopRig::ElementsToRanges(...)
   4. base::lapply(el_list, element_to_range)
   5. LoopRig:::FUN(X[[i]], ...)
   6. GenomicRanges::GRanges(...)
   7. S4Vectors::DataFrame(..., check.names = FALSE)
   8. methods::is(listData[[1L]], getClass("Annotated"))
  
  -- 4. Error: class output (@test-LoopsToRanges.R#33)  --------------------------
  trying to get slot "className" from an object of a basic class ("character") with no slots
  Backtrace:
    1. testthat::expect_is(...)
    4. LoopRig::LoopsToRanges(ovary_loops_mcols, custom_cols = 1, custom_mcols = 7)
    7. base::lapply(l_list, loop_to_range)
    8. LoopRig:::FUN(X[[i]], ...)
    9. GenomicRanges::GRanges(...)
   10. S4Vectors::DataFrame(..., check.names = FALSE)
   11. methods::is(listData[[1L]], getClass("Annotated"))
  
  -- 5. Error: (unknown) (@test-ScaffoldElements.R#14)  --------------------------
  trying to get slot "className" from an object of a basic class ("character") with no slots
  Backtrace:
   1. LoopRig::ElementsToRanges(...)
   4. base::lapply(el_list, element_to_range)
   5. LoopRig:::FUN(X[[i]], ...)
   6. GenomicRanges::GRanges(...)
   7. S4Vectors::DataFrame(..., check.names = FALSE)
   8. methods::is(listData[[1L]], getClass("Annotated"))
  
  -- 6. Error: (unknown) (@test-StackedElements.R#14)  ---------------------------
  trying to get slot "className" from an object of a basic class ("character") with no slots
  Backtrace:
   1. LoopRig::ElementsToRanges(...)
   4. base::lapply(el_list, element_to_range)
   5. LoopRig:::FUN(X[[i]], ...)
   6. GenomicRanges::GRanges(...)
   7. S4Vectors::DataFrame(..., check.names = FALSE)
   8. methods::is(listData[[1L]], getClass("Annotated"))
  
  == testthat results  ===========================================================
  [ OK: 27 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: class output (@test-ElementsToRanges.R#32) 
  2. Error: (unknown) (@test-ExportBED.R#23) 
  3. Error: (unknown) (@test-LinkedElements.R#14) 
  4. Error: class output (@test-LoopsToRanges.R#33) 
  5. Error: (unknown) (@test-ScaffoldElements.R#14) 
  6. Error: (unknown) (@test-StackedElements.R#14) 
  
  Error: testthat unit tests failed
  Execution halted