Skip to content
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

Use vctrs to establish new classes of data #264

Open
njtierney opened this issue Aug 17, 2020 · 0 comments
Open

Use vctrs to establish new classes of data #264

njtierney opened this issue Aug 17, 2020 · 0 comments
Milestone

Comments

@njtierney
Copy link
Owner

njtierney commented Aug 17, 2020

I think that the new modern approach is to use vctrs::new_vctr

For example:

structure(x,

Could / should probably be replaced with something like what @mitchelloharawild has written here:

https://github.com/mitchelloharawild/distributional/blob/e1fe78652c74a969e0c0d505b12445d5f36af664/R/distribution.R#L17

See also: https://vctrs.r-lib.org/articles/s3-vector.html

@njtierney njtierney added this to the V0.7.0 milestone Apr 10, 2023
@njtierney njtierney modified the milestones: V1.1.0, V1.2.0 Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant