tests/testthat/test_project.R

context("sf_project tests")

test_that("sf_project works", {
  sf_project(pts = matrix(0:1, 1, 2), st_crs(4326), st_crs(3587))
})

Try the sf package in your browser

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

sf documentation built on July 26, 2021, 5:07 p.m.