tests/testthat/test-listPathways.R

library(rWikiPathways)
context("Lists")

test_that("pathways are found", {
  organisms = listPathways()
  expect_gt(length(organisms), 0)
})

test_that("Anopheles gambiae pathways are found", {
  organisms = listPathways(organism="Anopheles gambiae")
  expect_gt(length(organisms), 0)
})

Try the rWikiPathways package in your browser

Any scripts or data that you put into this service are public.

rWikiPathways documentation built on Feb. 28, 2021, 2:01 a.m.