Displaying 1 result from an estimated 1 matches for "r_set_altvec_extract_subset_method".
2020 Feb 03
1
ALTREP "wrapper" classes needs an Extract_subset method
...this is that I believe that the wrapper
classes need to override the default ALTREP `Extract_subset_method()` with
a method that calls `Extract_subset()` on the "wrapped" object. I have a
patch prepared here:
https://github.com/DavisVaughan/r-source/pull/1
There is currently no call to `R_set_altvec_Extract_subset_method()` in the
wrapper class init functions. This means that the default ALTREP method of
`altvec_Extract_subset_default()` is called, which simply returns `NULL`.
Consider what that means for an ALTREP compact integer seq that has been
"wrapped". The default subsetting code will eventually c...