Skip to content

Commit

Permalink
another way of loading biocmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
AtaJadidAhari committed Jan 13, 2025
1 parent 30bcd2c commit ad8b5fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/testthat.R
Original file line number Diff line number Diff line change
@@ -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") {
Expand Down
4 changes: 4 additions & 0 deletions tests/testthat/test_updateSeqlevelsStyle.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad8b5fd

Please sign in to comment.