tests/testthat/test-scrape_pub.R

test_that("scrape_pub works", {
  paper_list <- scrape_pub("Jedi","wars")
  expect_equal(nrow(paper_list),5)
})

Try the getpublist package in your browser

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

getpublist documentation built on Sept. 27, 2022, 5:05 p.m.