~/talk

vctrs Tools for making size and type consistent functions

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [developer-experience]
slides:none on file

vctrs implements a consistent coercion system for vectors, including a stricter vec_c that throws errors instead of silently coercing, and a prototype mechanism to explicitly cast outputs. It formalizes type stability and size/recycling rules, treats nested data frames as supported column types, and supplies helpers for defining new vector classes. Demos show predictable outputs and safer errors where base R returned surprising values; it’s designed to be integrated into the tidyverse.

AI-written summary · about

  1. 0:00Introduction to vctrs
  2. 0:30Problems with base R
  3. 3:20Principles of consistency
  4. 6:07Type coercion in vctrs
  5. 7:47Demonstration of vctrs
  6. 12:29Type stability principles
  7. 16:27Size stability and structure
  8. 18:27Creating new types
  9. 19:33Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.