tests/testthat/test-search_goodreads.R

# test_search_goodreads.R

library(testthat)
library(rvest)
library(dplyr)
library(stringr)
library(utils)

test_that("scrape_reviews function works correctly", {
  skip("Skipping this test for now.")
  expect_true(TRUE)
})

test_that("search_goodreads function exists", {
  expect_true(exists("search_goodreads"))
  expect_true(is.function(search_goodreads))
})

Try the Goodreader package in your browser

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

Goodreader documentation built on Oct. 30, 2024, 9:11 a.m.