Closed billdenney closed 1 year ago
By the way, I'm happy to convert the code above into a PR, but I'm not sure when the number of columns would be >1. I think never, but it's not clear to me.
Let me see. Maybe it's enough to redirect the call to as.data.frame.AsIs
.
When putting mixed_units into a data.frame, they become regular units, and they also get unusual column names based on the
list
method for as.data.frame. I think that the fix is to add an as.data.frame method for mixed_units similar to what follows:Created on 2022-03-09 by the reprex package (v2.0.1)