tests/testthat/test_convert_spdf.R

# context("convert_spdf")
#
# df <- data.frame(lat = rnorm(100, 0, 1), lon = rnorm(100, 0, 1))
#
# test_that("CRS is null if none is provided in resulting spdf", {
#   expect_error(convert_spdf(df), "df is a data.frame. Please indicate the lat/lon variables")
# })
#
one-acre-fund/arc2weather documentation built on May 16, 2019, 5:02 a.m.