tests/testthat/test-read_bulk_info.R

test_that("read_bulk_info returns necessary data structure", {
  result <- read_bulk_info()
  expect_type(result, "list")
  expect_true(all(c("indicators", "resources") %in% names(result)))
})

Try the wbids package in your browser

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

wbids documentation built on April 11, 2025, 5:39 p.m.