Replace deprecated xfun attribute getters with xfun::attr2() - #644
Draft
kristinawlai with Copilot wants to merge 3 commits into
Draft
Replace deprecated xfun attribute getters with xfun::attr2()#644kristinawlai with Copilot wants to merge 3 commits into
xfun::attr2()#644kristinawlai with Copilot wants to merge 3 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. |
Co-authored-by: kristinawlai <57973437+kristinawlai@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update use of deprecated xfun functions
Replace deprecated xfun attribute getters with Aug 7, 2026
xfun::attr2()
This reverts commit ec4cf21. Co-authored-by: kristinawlai <57973437+kristinawlai@users.noreply.github.com>
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for taking the time to submit a pull request!
To maximize the chances of acceptance:
-.testthat).For more information see Contributing.
## Description
attr()usage withxfun::attr2()across affected package code.## Changes
print.*,summary.*,autoplot.*,compare_seroincidence,est_seroincidence_by,utils,strata, etc.) withxfun::attr2().attr(x, "...") <- value) unchanged.tests/testthat/test-xfun-deprecations.Rto assert:xfun::atrr()usagexfun::attr()usageattr()getter usage inR/man/set_id_var.Rd,man/summary.seroincidence.by.Rd).## Internal.DESCRIPTIONto1.4.1.9033.## Example