-
Notifications
You must be signed in to change notification settings - Fork 41
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 Logicals #338
Implement Logicals #338
Conversation
What about a few trivial tests on R side here https://github.com/extendr/extendr/blob/master/tests/extendrtests/src/rust/src/lib.rs? |
95e1dbf
to
9f43559
Compare
@clauswilke Tell me if I should drop Bool in this PR? |
I think dropping |
Good. I'll do this then. |
We may need to review the current case that:
Because |
Can you explain this? It seems that if |
On the R side, you cannot compare an |
I am aware of this feature of R. Why can't we treat all |
I agree, that's the most reasonable choice. It does imply |
I was trying to say |
This PR does the following:
Add Rbool as a type - Bool is still there but will be deprecated.
Add Logicals as a type.
Redesign the
gen_vector_wrapper_impl
macro a little, but keeping Ilia's original design.Make sure everything works with scalar types including Integers and Doubles.
Implement ALTREP logicals support.
Add Logicals to Rany.
Fix many many tests.