tests/testthat/test-write_jsonld.R

context("write_jsonld")

test_that("as_jsonld works", {
  expect_is(as_jsonld(list("name" = "test")), "json")
})

Try the dataspice package in your browser

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

dataspice documentation built on May 17, 2021, 1:09 a.m.