Skip to content

Commit

Permalink
undid erroneous devtools call
Browse files Browse the repository at this point in the history
  • Loading branch information
Qile0317 committed Jun 5, 2024
1 parent c7b2563 commit 487310d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/packageLoading.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ installAndLoad <- function(cran = NULL, bioc = NULL, gh = NULL) {

# Load required libraries for installation
if (!is.null(bioc))
if (!devtools::requireNamespace("BiocManager", quietly = TRUE))
if (!requireNamespace("BiocManager", quietly = TRUE))
utils::install.packages("BiocManager")

if (!is.null(gh))
if (!devtools::requireNamespace("devtools", quietly = TRUE))
if (!requireNamespace("devtools", quietly = TRUE))
utils::install.packages("devtools")

# Helper function to install and load a package
Expand Down

0 comments on commit 487310d

Please sign in to comment.