Running 'testthat.R' [24s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(driveR)
  > 
  > test_check("driveR")
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 20 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-core_functions.R:66:5): `create_features_df` works ──────────────
  Error in `loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])`: namespace 'S4Vectors' 0.30.2 is already loaded, but >= 0.33.7 is required
  Backtrace:
       ▆
    1. ├─testthat::expect_is(...) at 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]])
   12.     ├─base::namespaceImportClasses(...)
   13.     │ ├─base::namespaceImportFrom(self, asNamespace(ns), vars, from = from)
   14.     │ │ └─base::asNamespace(ns)
   15.     │ └─base::asNamespace(ns)
   16.     └─base::loadNamespace(...)
   17.       ├─base::namespaceImport(...)
   18.       └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   19.         ├─base::namespaceImport(...)
   20.         └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
  ── Error (test-utility.R:19:5): `create_gene_level_scna_df` works ──────────────
  Error in `loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])`: namespace 'S4Vectors' 0.30.2 is already loaded, but >= 0.33.7 is required
  Backtrace:
       ▆
    1. ├─testthat::expect_is(...) at 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]])
   11.     ├─base::namespaceImportClasses(...)
   12.     │ ├─base::namespaceImportFrom(self, asNamespace(ns), vars, from = from)
   13.     │ │ └─base::asNamespace(ns)
   14.     │ └─base::asNamespace(ns)
   15.     └─base::loadNamespace(...)
   16.       ├─base::namespaceImport(...)
   17.       └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   18.         ├─base::namespaceImport(...)
   19.         └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
  ── Error (test-utility.R:39:1): (code run outside of `test_that()`) ────────────
  Error in `loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])`: namespace 'S4Vectors' 0.30.2 is already loaded, but >= 0.33.7 is required
  Backtrace:
       ▆
    1. ├─driveR:::create_gene_level_scna_df(example_scna_table) at 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]])
    8.     ├─base::namespaceImportClasses(...)
    9.     │ ├─base::namespaceImportFrom(self, asNamespace(ns), vars, from = from)
   10.     │ │ └─base::asNamespace(ns)
   11.     │ └─base::asNamespace(ns)
   12.     └─base::loadNamespace(...)
   13.       ├─base::namespaceImport(...)
   14.       └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   15.         ├─base::namespaceImport(...)
   16.         └─base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
  
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 20 ]
  Error: Test failures
  Execution halted