tests/testthat/test_net.r

context("Network")
test_that("The NCBI is contactable from this comptuter /",{
    response <- httr::GET("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi")
    expect_lt(response$status_code, 400)
})

Try the rentrez package in your browser

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

rentrez documentation built on Nov. 11, 2020, 1:07 a.m.