tests/testthat/test-oc_build_url.R

test_that("oc_build_url returns a string", {
  expect_type(
    oc_build_url(
      query_par = list(placename = "Haarlem"),
      endpoint = "json"
    ),
    "character"
  )
})
masalmon/opencage documentation built on Feb. 5, 2023, 6:05 p.m.