R Under development (unstable) (2025-08-22 r88678 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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. > library(testthat) > library(tuber) > > test_check("tuber") [ FAIL 8 | WARN 2 | SKIP 17 | PASS 47 ] ══ Skipped tests (17) ══════════════════════════════════════════════════════════ • On CRAN (17): 'test-captions.R:5:3', 'test-get-all-comments.R:33:3', 'test-get-comment-threads.R:4:3', 'test-get-details.R:5:3', 'test-get-details.R:18:3', 'test-get-playlist-items.R:4:3', 'test-get-playlists.R:4:3', 'test-get-related-videos.R:5:3', 'test-integration-ready.R:7:3', 'test-integration-ready.R:30:3', 'test-integration-ready.R:48:3', 'test-integration-ready.R:76:3', 'test-integration-ready.R:102:3', 'test-list-channel-activities.R:5:3', 'test-list-channel-sections.R:3:1', 'test-yt-search.R:4:3', 'test-yt-search.R:14:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get-all-comments.R:25:3'): process_page handles comments with and without replies ── `df` is not an S3 object ── Failure ('test-get-all-comments.R:26:3'): process_page handles comments with and without replies ── any(is.na(df$parentId)) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get-all-comments.R:27:3'): process_page handles comments with and without replies ── any(!is.na(df$parentId)) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get-all-comments.R:28:3'): process_page handles comments with and without replies ── "c2" %in% df$id is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-get-all-comments.R:99:7'): get_all_comments handles pagination correctly ── `result` is not an S3 object Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-get-all-comments.R:94:3 2. └─testthat::expect_s3_class(result, "data.frame") at test-get-all-comments.R:99:7 ── Failure ('test-get-all-comments.R:104:7'): get_all_comments handles pagination correctly ── any(grepl("page1", result$textDisplay)) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-get-all-comments.R:94:3 2. └─testthat::expect_true(any(grepl("page1", result$textDisplay))) at test-get-all-comments.R:104:7 ── Failure ('test-get-all-comments.R:105:7'): get_all_comments handles pagination correctly ── any(grepl("page2", result$textDisplay)) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-get-all-comments.R:94:3 2. └─testthat::expect_true(any(grepl("page2", result$textDisplay))) at test-get-all-comments.R:105:7 ── Failure ('test-get-all-comments.R:106:7'): get_all_comments handles pagination correctly ── any(grepl("page3", result$textDisplay)) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-get-all-comments.R:94:3 2. └─testthat::expect_true(any(grepl("page3", result$textDisplay))) at test-get-all-comments.R:106:7 [ FAIL 8 | WARN 2 | SKIP 17 | PASS 47 ] Error: Test failures Execution halted