R Under development (unstable) (2025-10-19 r88945 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(openesm) Welcome to openesm! Find documentation and usage examples at https://openesmdata.org Get started: * list_datasets() to browse available datasets * get_dataset('dataset_id') to download a specific dataset * ?get_dataset or visit the website for detailed guides Attaching package: 'openesm' The following object is masked from 'package:utils': cite > > test_check("openesm") ! Zenodo API call failed (attempt 1/3), retrying... ! Zenodo API call failed (attempt 2/3), retrying... [ FAIL 1 | WARN 0 | SKIP 5 | PASS 56 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-get_dataset.R:4:3', 'test-get_dataset.R:35:3', 'test-get_dataset.R:55:3', 'test-get_dataset.R:72:3', 'test-list_datasets.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-utils.R:186:3'): download_metadata_from_zenodo handles errors gracefully ── Error in `resolve_zenodo_version(metadata_doi, version, sandbox = FALSE)`: Failed to retrieve versions from Zenodo for DOI 10.5281/zenodo.17182171 after 3 attempts Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-utils.R:186:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─openesm:::download_metadata_from_zenodo(...) 8. └─openesm:::resolve_zenodo_version(metadata_doi, version, sandbox = FALSE) 9. └─cli::cli_abort("Failed to retrieve versions from Zenodo for DOI {zenodo_doi} after {max_attempts} attempts") 10. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 5 | PASS 56 ] Error: Test failures Execution halted