tests/testthat/test-getassay.R

context("Get assay metadata")
test_that("Assay description retrieves related AIDs", {
  d <- get.assay.desc(1653)
  expect_true(length(d$aids) > 0, TRUE)
})

test_that("Assay description retrieves related PMIDs", {
  d <- get.assay.desc(1653)
  expect_true(length(d$pmids) > 0, TRUE)
})

Try the rpubchem package in your browser

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

rpubchem documentation built on May 2, 2019, 4:33 a.m.