Skip to content

Allow extension of vec_approx_equal behavior #640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brookslogan opened this issue Mar 26, 2025 · 0 comments
Open

Allow extension of vec_approx_equal behavior #640

brookslogan opened this issue Mar 26, 2025 · 0 comments

Comments

@brookslogan
Copy link
Contributor

Converted from comment in the "default" branch of vec_approx_equal0:

    # XXX No special handling for any other types/situations. Makes sense for
    # unclassed atomic things; custom classes (e.g., distributions) might want
    # recursion / specialization, though. vec_approx_equal0 should probably be
    # an S3 method; see also `vctrs::vec_proxy_{equal,compare}` though they
    # might not be sufficient (e.g., for keyed data frames such as `epi_df`s
    # that should have strict & nonstrict columns).
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

No branches or pull requests

1 participant