tests/testthat/test-coordinates.R

context("coordinates")

test_that("coordinatize works", {
  dt  <- readRDS("lagos_test_subset.rds")
  res <- coordinatize(dt$locus)

  expect_equal(nrow(res), 2)
  expect_s3_class(res, "sf")
})
cont-limno/LAGOSNE documentation built on June 28, 2023, 4 a.m.