tests/testthat/test-data_containers.R

test_that(".rba_stg works", {

  expect_error(
    object = .rba_stg("qwerty"),
    regexp = NULL
  )

  expect_type(
    object = .rba_stg("reactome", "pth", "analysis"),
    type = "character"
  )

  expect_type(
    object = .rba_stg("reactome", "err_prs")[[2]],
    type = "closure"
  )

})

Try the rbioapi package in your browser

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

rbioapi documentation built on April 4, 2025, 5:04 a.m.