tests/testthat/test_connection.R

library(testthat)

test_that("malformend_connection_string", {
  expect_error(ACEsearch::ACEsearch.connect("xxx"), "Could not connect to ACE instance");
})

Try the ACEsearch package in your browser

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

ACEsearch documentation built on Jan. 13, 2021, 8:07 a.m.