diff --git a/tests/testthat.R b/tests/testthat.R index b6e27f5..9867d08 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -1,6 +1,5 @@ library(testthat) library(FRASER) -library(BiocManager) # to speed up the testing on windows do it in serial mode if(.Platform$OS.type != "unix") { diff --git a/tests/testthat/test_updateSeqlevelsStyle.R b/tests/testthat/test_updateSeqlevelsStyle.R index 7ddbf91..88c6e8c 100644 --- a/tests/testthat/test_updateSeqlevelsStyle.R +++ b/tests/testthat/test_updateSeqlevelsStyle.R @@ -5,6 +5,10 @@ if (!require("BiocManager", quietly = TRUE)) library(BiocManager) test_that("hg38, UCSC to NCBI", { + if (!require("BiocManager", quietly = TRUE)) + install.packages("BiocManager") + library(BiocManager) + BiocManager::install("BSgenome.Hsapiens.UCSC.hg38") genome <- getBSgenome("hg38") bsgenome <- genome