tests/testthat/test-decribe_url.R

test_that("describe_url returns a message with topic", {

  # Get the news
  output_describe <- describe_url("ycombinator.com")

  # What's returned
  expect_null(output_describe, "character")

})

Try the newscatcheR package in your browser

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

newscatcheR documentation built on Sept. 20, 2023, 5:07 p.m.