Closed lionel- closed 3 years ago
They also have trouble with missing indices which are important for tidyverse support:
# Logical NA should recycle to full length
m[NA]
#> Mixed units: Error in UseMethod("units") :
#> no applicable method for 'units' applied to an object of class "NULL"
# Integer NA should represent one missing element
m[c(NA, 1)]
#> Mixed units: Error in UseMethod("units") :
#> no applicable method for 'units' applied to an object of class "NULL"
This would require a value representing a missing unit vector (in list classes we generally use NULL
for this).
I see with the dev version: