Skip to content

Commit e5b8d54

Browse files
committed
fix test
1 parent 5882270 commit e5b8d54

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

R/data_generation.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ get_reactome_gsets <- function() {
254254
#' See \code{\link[msigdbr]{msigdbr_show_species}} for all the species available in
255255
#' the msigdbr package
256256
#' @param collection collection. i.e., H, C1, C2, C3, C4, C5, C6, C7.
257-
#' @param subcollection sub-collection, such as CGP, MIR, BP, etc. (default = NULL,
257+
#' @param subcollection sub-collection, such as CGP, BP, etc. (default = NULL,
258258
#' i.e. list all gene sets in collection)
259259
#'
260260
#' @return Retrieves the MSigDB gene sets and returns a list containing 2 elements: \itemize{

man/get_mgsigdb_gsets.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-data_generation.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Project: pathfindR
33
## Script purpose: Testthat testing script for
44
## data generation functions
5-
## Date: Jan 12, 2020
5+
## Date: May 15, 2020
66
## Author: Ege Ulgen
77
##################################################
88

@@ -59,7 +59,7 @@ test_that("`get_reactome_gsets()` works", {
5959
# get_mgsigdb_gsets -------------------------------------------------------
6060
test_that("`get_mgsigdb_gsets()` works", {
6161
expect_silent(hsa_C2_cgp <- pathfindR:::get_mgsigdb_gsets(collection = "C3",
62-
subcollection = "MIR"))
62+
subcollection = "MIR:MIR_Legacy"))
6363
expect_length(hsa_C2_cgp, 2)
6464
expect_true(all(names(hsa_C2_cgp) == c("gene_sets", "descriptions")))
6565
expect_true(all(names(hsa_C2_cgp[["gene_sets"]] %in% names(hsa_C2_cgp[["descriptions"]]))))

0 commit comments

Comments
 (0)