tests/testthat/test-date-parsing.R

test_that("date field parsing works", {

  fp <- test_path("testdata", "date-parse-error.json")
  x <- readLines(fp)
  res <- parse_esri_json(x)
  expect_snapshot(res)
})

Try the arcgisutils package in your browser

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

arcgisutils documentation built on April 12, 2025, 1:16 a.m.