Santoku can handle many non-standard types.
Details
If objects can be compared using
<,==etc. then they should be choppable.Objects which can't be converted to numeric are handled within R code, which may be slower.
Character
xandbreaksare chopped with a warning.If
xandbreaksare not the same type, they should be able to be cast to the same type, usually usingvctrs::vec_cast_common().Not all chopping operations make sense, for example,
chop_mean_sd()on a character vector.For indexed objects such as
stats::ts()objects, indices will be dropped from the result.If you get errors, try setting
extend = FALSE(but also file a bug report).To request support for a type, open an issue on Github.
