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

Implement as vctrs record class? #17

Open
cynthiahqy opened this issue Jun 10, 2024 · 1 comment
Open

Implement as vctrs record class? #17

cynthiahqy opened this issue Jun 10, 2024 · 1 comment

Comments

@cynthiahqy
Copy link

Have you considered/would you be open to a contribution that implements vectors of fractions as a vctrs record vector rather than a character vector? Something akin to this example: https://vctrs.r-lib.org/articles/s3-vector.html#rational-class

I need tibble-friendly symbolic representation of fractions for some other work, and I would prefer to keep it in a separate package. I could make another package, but {fracture} seems like a good home for it (and you've got a cool hex sticker!)

@rossellhayes
Copy link
Owner

Hi @cynthiahqy, that sounds like a great idea to me. I won't have time to work on this immediately, but would be happy to look at a PR if you have the chance to put something together sooner.

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

2 participants