Watch vctrs
: Tools for making size and type consistent functions with Hadley Wickham on RStudio Resources.
vctrs
is a new package that provides tools (cognitive and computational) to ensure that functions behave consistently with respect to inputs of varying length and type. The end goal of vctrs
is to be invisible to the end user of the tidyverse (simply enabling their predictions about function outputs to be more correct), but will help developers write functions that "just work".