tests/testthat/testrunURL.R

context("Test runURL")

# Most things are tested elsewhere

test_that("Testing errors", {
  
  expect_error(rYoutheria:::runURL(URL = NULL, type = 'm'),
               'URL is NULL')
  
  expect_error(rYoutheria:::runURL(URL = '', type = NULL),
               'type is NULL')  
  
})

Try the rYoutheria package in your browser

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

rYoutheria documentation built on May 2, 2019, 8:32 a.m.