tests/testthat/test-opencage_url.R

library("opencage")
context("opencage_url")
test_that("opencage_url returns a string",{
  expect_is(opencage_url(), "character")
})

Try the opencage package in your browser

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

opencage documentation built on Jan. 20, 2018, 9:20 a.m.