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"
  )

})
moosa-r/rbioapi documentation built on Feb. 3, 2025, 7:37 p.m.