R Under development (unstable) (2025-07-22 r88445 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. > # 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rtoot) > > test_check("rtoot") You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr You should do software testing with the `RTOOT_DEFAULT_TOKEN` envvar! Read: https://github.com/gesistsa/rtoot/wiki/vcr [ FAIL 1 | WARN 0 | SKIP 13 | PASS 290 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • !file.exists("../testdata/malformed.json") is TRUE (1): 'test-stream.R:106:3' • On CRAN (8): 'test-auth_check_token_rtoot.R:75:3', 'test-auth_check_token_rtoot.R:85:3', 'test-auth_check_token_rtoot.R:99:3', 'test-auth_check_token_rtoot.R:117:3', 'test-auth_check_token_rtoot.R:134:3', 'test-auth_setup.R:6:3', 'test-stream.R:29:3', 'test-stream.R:59:3' • Skipping all tests in this file temporarily (1): 'test-post.R:1:1' • Sys.getenv("RTOOT_DEFAULT_TOKEN") == "" is TRUE (1): 'test-auth_envvar.R:45:3' • clipr::clipr_available() is not TRUE (2): 'test-auth_envvar.R:20:3', 'test-auth_process_created_token.R:60:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-auth_verify.R:15:5'): verify_envvar (Good case), silent ──────── Error in `get_token_from_envvar()`: envvar not found. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-auth_verify.R:14:3 2. │ └─base::withCallingHandlers(...) 3. ├─testthat::expect_silent(verify_envvar(verbose = FALSE)) at test-auth_verify.R:15:5 4. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 5. │ ├─testthat (local) .capture(...) 6. │ │ ├─withr::with_output_sink(...) 7. │ │ │ └─base::force(code) 8. │ │ ├─base::withCallingHandlers(...) 9. │ │ └─base::withVisible(code) 10. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 11. └─rtoot::verify_envvar(verbose = FALSE) 12. └─rtoot:::get_token_from_envvar() 13. └─cli::cli_abort("envvar not found.") 14. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 13 | PASS 290 ] Error: Test failures Execution halted