tests/testthat/test-point_from_distance.R

test_that("point_from_distance doesn't care about classes", {
  expect_error(point_from_distance(c(
    lat = 44.05003,
    lng = -74.01164
  ), 100, 90), NA)
})

Try the terrainr package in your browser

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

terrainr documentation built on Oct. 4, 2023, 5:07 p.m.