Skip to content

Update test suite and ci#160

Merged
aaronwolen merged 14 commits intomasterfrom
update-vcr-cassettes
Feb 19, 2026
Merged

Update test suite and ci#160
aaronwolen merged 14 commits intomasterfrom
update-vcr-cassettes

Conversation

@aaronwolen
Copy link
Member

@aaronwolen aaronwolen commented Feb 19, 2026

  • Replace deprecated testthat 2.x setup()/teardown() pattern with testthat 3 approaches
  • Remove all context() calls
  • Remove VCR cassettes from teardown/cleanup and re-records all cassettes
  • Manual temp directories replaced with withr::local_tempdir()
  • Update actions/checkout to v4
  • Impose read-all permissions on gha workflow

- Replace rprojroot-based cassette_dir() with vcr::vcr_test_path()
- Remove filter_sensitive_data: vcr 2.x auto-strips Authorization headers
  from cassettes
- Replace log/log_opts config with vcr_configure_log()
Waterbutler no longer includes a 'code' key in conflict (409) error
responses. The response body now contains only 'message' and 'data'
(flat file attributes). Update .process_wb_response() to detect errors
by the presence of a 'message' key in addition to the previous 'code'
key check.
 Please enter the commit message for your changes. Lines starting
- context() is long gone
- Replace setup/teardown w/ modern withr functions
- Replace use_cassette() with vcr::local_cassette()
@aaronwolen aaronwolen marked this pull request as ready for review February 19, 2026 14:11
@aaronwolen aaronwolen merged commit 2d041b6 into master Feb 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant