diff --git a/R/msigdbr-collections.R b/R/msigdbr-collections.R index 8074701..b42b0fc 100644 --- a/R/msigdbr-collections.R +++ b/R/msigdbr-collections.R @@ -8,9 +8,11 @@ #' @export #' #' @examples +#' \donttest{ #' msigdbr_collections() +#' } msigdbr_collections <- function(db_species = "Hs") { - # rlang::check_installed("msigdbdf") + # Check that msigdbdf is installed msigdbr_check_data() # Get the full table of gene sets and their member genes diff --git a/R/msigdbr.R b/R/msigdbr.R index 6a18b58..0cdc4b6 100644 --- a/R/msigdbr.R +++ b/R/msigdbr.R @@ -40,10 +40,6 @@ #' } msigdbr <- function(species = "Homo sapiens", db_species = "HS", collection = NULL, subcollection = NULL, category = deprecated(), subcategory = deprecated()) { # Check that msigdbdf is installed - # a dependency listed in DESCRIPTION Suggests is not guaranteed to be installed - # if (!requireNamespace("msigdbdf", quietly = TRUE)) { - # stop("package 'msigdbdf' must be installed to use this function", call. = FALSE) - # } msigdbr_check_data() # Check parameters diff --git a/man/msigdbr_collections.Rd b/man/msigdbr_collections.Rd index a1f2959..2c197f6 100644 --- a/man/msigdbr_collections.Rd +++ b/man/msigdbr_collections.Rd @@ -16,5 +16,7 @@ A data frame of the available collections. List the collections available in the msigdbr package } \examples{ +\donttest{ msigdbr_collections() } +}