tests/testthat/test-scrape_goolge_profile.R

test_that("scrape_goolge_profile works", {
  url <- "https://scholar.google.com/citations?user=hGTnO4oAAAAJ&hl=en&authuser=3"
  paper_list <- scrape_google_profile(url)
  expect_equal(nrow(paper_list),4)
})

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.