tests/testthat/test_latest_filings.R

context("running latest_filings")

with_mock_api({
  test_that("basics", {
    res <- latest_filings()
    expect_length(res, 9)
    expect_equal(nrow(res), 40)
  })
})

Try the edgarWebR package in your browser

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

edgarWebR documentation built on April 24, 2021, 5:09 p.m.