R Under development (unstable) (2024-08-21 r87038 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(Goodreader) > > test_check("Goodreader") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Attaching package: 'purrr' The following object is masked from 'package:magrittr': set_names The following object is masked from 'package:testthat': is_null Attaching package: 'lubridate' The following objects are masked from 'package:base': date, intersect, setdiff, union Topic 1: great, one, complex, interest, read Topic 2: book, charact, love, plot, fan Topic 1: great, one, complex, interest, read Topic 2: book, charact, love, plot, fan Topic 1: fan, one, slow, complex, read Topic 2: book, charact, great, love, plot Topic 1: great, love, plot, one, stori Topic 2: book, charact, fan, slow, read [ FAIL 2 | WARN 0 | SKIP 4 | PASS 58 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-scrape_books.R:46:3', 'test-utilities.R:18:3' • Skipping this test for now. (2): 'test-scrape_reviews.R:11:3', 'test-search_goodreads.R:10:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-topic_modeling.R:40:3'): top_terms function works correctly ── `top_terms(lda_model, n = 5)` produced no output ── Failure ('test-topic_modeling.R:41:3'): top_terms function works correctly ── `top_terms(lda_model, n = 5)` produced no output [ FAIL 2 | WARN 0 | SKIP 4 | PASS 58 ] Error: Test failures Execution halted