tests/testthat/test-checkargs.r

context("Testing of rxivistr check args")

test_that("Testing check args", {

  expect_error(rxivist_search(from = "2018"))

  expect_error(rxivist_search(from = "month", sortby = "downlaods"))

  expect_error(rxivist_search(category = "zology"))

})

Try the rxivistr package in your browser

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

rxivistr documentation built on Oct. 23, 2020, 5:19 p.m.