tests/testthat/test-uniprot.R

context('test-package')

test_that("api-works", {
    expect_true(is.character(get_keywords('P02678')))
    expect_true(is.character(get_gene('P02678')))
    expect_true(is.character(get_sequence('P02678')))
    expect_true(tibble::is_tibble(go_query('P02678')))
})
wilsontom/uniprot documentation built on Oct. 21, 2020, 10:23 p.m.