tests/testthat/test-ingest.R

test_that("`ps_ingest()` works", {
  url <- 'https://planscore.s3.amazonaws.com/uploads/20221127T213653.168557156Z/index.json'
  out <- ps_ingest(url)
  expect_s3_class(out, "data.frame")
})

Try the planscorer package in your browser

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

planscorer documentation built on Sept. 24, 2024, 5:08 p.m.