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

Allow missing unit? #203

Closed
paulponcet opened this issue Apr 30, 2019 · 1 comment
Closed

Allow missing unit? #203

paulponcet opened this issue Apr 30, 2019 · 1 comment

Comments

@paulponcet
Copy link

paulponcet commented Apr 30, 2019

NA_unit_ could be created as follows:

NA_unit_ = structure(list(numerator = NA_character_, denominator = character(0)), 
                     class = "symbolic_units")

Operations +, -, etc. on vectors could then be updated in order to propagate a missing unit. For instance if a vector x is in meters and y has a missing unit, then x * y should have a missing unit.

@Enchufa2
Copy link
Member

This is being tracked in #163. Please, continue the discussion there.

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

2 participants