R Under development (unstable) (2024-02-23 r85978 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. > # Use conditionally testthat > tests_are_doable <- requireNamespace("rtweet", quietly = TRUE) && + requireNamespace("testthat", quietly = TRUE) && + requireNamespace("vcr", quietly = TRUE) > > if (tests_are_doable) { + library(testthat) + library(rtweet) + + test_check("rtweet") + + } [ FAIL 0 | WARN 0 | SKIP 23 | PASS 98 ] ══ Skipped tests (23) ══════════════════════════════════════════════════════════ • Auth not available (2): 'test-auth.R:9:3', 'test-tokens.R:2:3' • On CRAN (17): 'test-auth.R:2:3', 'test-auth.R:28:3', 'test-auth.R:39:3', 'test-list_get.R:2:3', 'test-next_cursor.R:12:3', 'test-next_cursor.R:41:3', 'test-parse.R:35:3', 'test-req_errors.R:2:3', 'test-retweeted_by.R:2:3', 'test-search_archive.R:2:3', 'test-search_archive.R:10:3', 'test-stream.R:2:3', 'test-stream_rules.R:2:3', 'test-stream_rules.R:9:3', 'test-stream_rules.R:21:3', 'test-stream_rules.R:34:3', 'test-tokens.R:12:3' • requires manual testing (4): 'test-auth.R:56:3', 'test-auth.R:63:3', 'test-auth.R:69:3', 'test-limits.R:2:3' [ FAIL 0 | WARN 0 | SKIP 23 | PASS 98 ] > > proc.time() user system elapsed 2.81 0.26 3.06