Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(driveR)
  > 
  > test_check("driveR")
  == Failed tests ================================================================
  -- Error (test-core_functions.R:66:5): `create_features_df` works --------------
  Error in `..Internal(is.unsorted(x, FALSE))`: 2 arguments passed to .Internal(is.unsorted) which requires 3
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-core_functions.R:66:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-driveR::create_features_df(...)
    5.   \-driveR:::create_gene_level_scna_df(scna_df = scna_df, gene_overlap_threshold = gene_overlap_threshold)
    6.     +-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = "UCSC")
    7.     \-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = "UCSC")
    8.       +-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = value)
    9.       \-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = value)
   10.         +-BiocGenerics::unsplit(...)
   11.         \-IRanges::unsplit(as(genome2DF, "CompressedDataFrameList"), x_genome)
   12.           \-IRanges:::`splitAsList<-`(`*tmp*`, f, drop = drop, value = value)
   13.             +-S4Vectors::splitAsList(seq_len(NROW(x)), f, drop = drop)
   14.             \-S4Vectors::splitAsList(seq_len(NROW(x)), f, drop = drop)
   15.               \-S4Vectors:::.local(x, f, drop, ...)
   16.                 \-IRanges:::default_splitAsList(x, f, drop = drop)
   17.                   \-IRanges:::.splitAsList_by_factor(x, f, drop)
   18.                     \-S4Vectors:::isNotSorted(f)
  -- Error (test-utility.R:19:5): `create_gene_level_scna_df` works --------------
  Error in `..Internal(is.unsorted(x, FALSE))`: 2 arguments passed to .Internal(is.unsorted) which requires 3
  Backtrace:
       x
    1. +-testthat::expect_is(...) test-utility.R:19:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. \-driveR:::create_gene_level_scna_df(example_scna_table)
    5.   +-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = "UCSC")
    6.   \-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = "UCSC")
    7.     +-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = value)
    8.     \-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = value)
    9.       +-BiocGenerics::unsplit(...)
   10.       \-IRanges::unsplit(as(genome2DF, "CompressedDataFrameList"), x_genome)
   11.         \-IRanges:::`splitAsList<-`(`*tmp*`, f, drop = drop, value = value)
   12.           +-S4Vectors::splitAsList(seq_len(NROW(x)), f, drop = drop)
   13.           \-S4Vectors::splitAsList(seq_len(NROW(x)), f, drop = drop)
   14.             \-S4Vectors:::.local(x, f, drop, ...)
   15.               \-IRanges:::default_splitAsList(x, f, drop = drop)
   16.                 \-IRanges:::.splitAsList_by_factor(x, f, drop)
   17.                   \-S4Vectors:::isNotSorted(f)
  -- Error (test-utility.R:39:1): (code run outside of `test_that()`) ------------
  Error in `..Internal(is.unsorted(x, FALSE))`: 2 arguments passed to .Internal(is.unsorted) which requires 3
  Backtrace:
       x
    1. \-driveR:::create_gene_level_scna_df(example_scna_table) test-utility.R:39:0
    2.   +-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = "UCSC")
    3.   \-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = "UCSC")
    4.     +-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = value)
    5.     \-GenomeInfoDb::`seqlevelsStyle<-`(`*tmp*`, value = value)
    6.       +-BiocGenerics::unsplit(...)
    7.       \-IRanges::unsplit(as(genome2DF, "CompressedDataFrameList"), x_genome)
    8.         \-IRanges:::`splitAsList<-`(`*tmp*`, f, drop = drop, value = value)
    9.           +-S4Vectors::splitAsList(seq_len(NROW(x)), f, drop = drop)
   10.           \-S4Vectors::splitAsList(seq_len(NROW(x)), f, drop = drop)
   11.             \-S4Vectors:::.local(x, f, drop, ...)
   12.               \-IRanges:::default_splitAsList(x, f, drop = drop)
   13.                 \-IRanges:::.splitAsList_by_factor(x, f, drop)
   14.                   \-S4Vectors:::isNotSorted(f)
  
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted