Running 'testthat.R' [18s]
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: namespace 'rtracklayer' 1.48.0 is being loaded, but >= 1.51.5 is required
  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. |   \-base::suppressMessages(GenomicFeatures::genes(TxDb.Hsapiens.UCSC.hg19.knownGene::TxDb.Hsapiens.UCSC.hg19.knownGene))
    7. |     \-base::withCallingHandlers(...)
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
  -- Error (test-utility.R:19:5): `create_gene_level_scna_df` works --------------
  Error: namespace 'rtracklayer' 1.48.0 is being loaded, but >= 1.51.5 is required
  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. | \-base::suppressMessages(GenomicFeatures::genes(TxDb.Hsapiens.UCSC.hg19.knownGene::TxDb.Hsapiens.UCSC.hg19.knownGene))
    6. |   \-base::withCallingHandlers(...)
    7. \-base::loadNamespace(x)
    8.   +-base::namespaceImportFrom(...)
    9.   | \-base::asNamespace(ns)
   10.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
  -- Error (test-utility.R:39:1): (code run outside of `test_that()`) ------------
  Error: namespace 'rtracklayer' 1.48.0 is being loaded, but >= 1.51.5 is required
  Backtrace:
      x
   1. +-driveR:::create_gene_level_scna_df(example_scna_table) test-utility.R:39:0
   2. | \-base::suppressMessages(GenomicFeatures::genes(TxDb.Hsapiens.UCSC.hg19.knownGene::TxDb.Hsapiens.UCSC.hg19.knownGene))
   3. |   \-base::withCallingHandlers(...)
   4. \-base::loadNamespace(x)
   5.   +-base::namespaceImportFrom(...)
   6.   | \-base::asNamespace(ns)
   7.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
  
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted