* using log directory 'd:/RCompile/CRANincoming/R-devel/tuber.Rcheck' * using R Under development (unstable) (2025-08-22 r88678 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'tuber/DESCRIPTION' ... OK * this is package 'tuber' version '1.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Gaurav Sood ' Found the following (possibly) invalid URLs: URL: https://soodoku.github.io/tuber/articles/emoji_vignette.html (moved to https://gsood.com/tuber/articles/emoji_vignette.html) From: README.md Status: 301 Message: Moved Permanently URL: https://soodoku.github.io/tuber/articles/tuber-ex.html (moved to https://gsood.com/tuber/articles/tuber-ex.html) From: README.md Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'tuber' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE exponential_backoff: no visible global function definition for 'runif' Undefined global functions or variables: runif Consider adding importFrom("stats", "runif") to your NAMESPACE file. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [16s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs