tests/testthat/test-fredr_endpoints.R

test_that("endpoints is a known data frame", {
  expect_is(fredr_endpoints, "tbl_df")
  expect_identical(nrow(fredr_endpoints), 31L)
  expect_identical(ncol(fredr_endpoints), 3L)
})

Try the fredr package in your browser

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

fredr documentation built on Jan. 30, 2021, 1:06 a.m.