tests/testthat/test-data.R

test_that("example_records is a valid bundled dataset", {
  expect_true(is_scopus_records(example_records))
  expect_equal(nrow(example_records), 6L)
  expect_equal(names(example_records), scopusflow:::scopus_records_columns())
  expect_false(anyNA(example_records$doi))
})

Try the scopusflow package in your browser

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

scopusflow documentation built on June 20, 2026, 5:06 p.m.