tests/testthat/test-listOrganisms.R

library(rWikiPathways)
context("Lists")

test_that("organisms are found", {
  organisms = listOrganisms()
  expect_gt(length(organisms), 0)
  expect_true("Anopheles gambiae" %in% organisms)
})

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.