Skip to content

refactor: unify read_aet, extract_aet, and read_smips into read_tern#24

Merged
max578 merged 4 commits intomainfrom
feature/unified-read-tern
Mar 26, 2026
Merged

refactor: unify read_aet, extract_aet, and read_smips into read_tern#24
max578 merged 4 commits intomainfrom
feature/unified-read-tern

Conversation

@max578
Copy link
Contributor

@max578 max578 commented Mar 26, 2026

  • Replace separate reader functions (read_aet, extract_aet, read_smips) with a single read_tern() dispatcher that routes by dataset ID. This simplifies the user-facing API and makes it easier to add new TERN datasets in the future.

  • Add the entire collection of TERN-downloadable datasets.

Replace separate reader functions (read_aet, extract_aet, read_smips)
with a single read_tern() dispatcher that routes by dataset ID.
This simplifies the user-facing API and makes it easier to add
new TERN datasets in the future.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@max578 max578 requested a review from adamhsparks March 26, 2026 11:25
Max Moldovan and others added 3 commits March 27, 2026 06:36
Reorder read_tern() so dataset ID and argument validation run before
get_key(), allowing CI tests to pass without TERN_API_KEY. Update
_pkgdown.yml to reference read_tern instead of removed read_aet,
read_smips, and extract_aet.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add .devcontainer, _pkgdown.yml, CODE_OF_CONDUCT.md, LICENSE.md, and
README.Rmd to .Rbuildignore to suppress hidden-file and non-standard-file
warnings that cause CI to fail with error-on: "warning".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update generated .Rd file to match the code signature change, fixing
the R CMD check warning about mismatched default values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@max578 max578 merged commit 9b35a6f into main Mar 26, 2026
6 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