tests/testthat/test-other_fns.R

context('testing misc other functions')

test_that('Prints correct details of S3 object', {
  out1 <- icite_api(pmids='1000')
  expect_match(capture_output(print(out1)), '<iCite request')
})

Try the iCiteR package in your browser

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

iCiteR documentation built on Nov. 18, 2019, 5:16 p.m.