tests/testthat/test-function-coordinates_to_EPSG_4326.R

test_that("coordinates_to_EPSG_4326() works", {

  f <- kwb.dwd:::coordinates_to_EPSG_4326

  result <- f(latitude = 1, longitude = 2)

  expect_s3_class(result, "sf")
})
KWB-R/kwb.dwd documentation built on Sept. 28, 2022, 6:03 p.m.