tests/testthat/test-dmoz-cat.R

context("Get dmoz Cat")

test_that("dmoz cat", {

  get_dmoz_data()
  report <- dmoz_cat("http://www.google.com")
  expect_that(report, is_a("data.frame"))
})

Try the rdomains package in your browser

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

rdomains documentation built on March 18, 2022, 7:28 p.m.