tidyverse / funs

Collection of low-level functions for working with vctrs
Other
34 stars 7 forks source link

modify_vector() #9

Open jennybc opened 7 years ago

jennybc commented 7 years ago

A vector version of modifyList() function would be very handy for, e.g., combining default http request headers with user-specified ones, where user-specified headers should trump the defaults. This is somewhat related to keep_last(), seen (twice, in fact!) in httr's utils.R, which might also be useful.

hadley commented 4 years ago

It feels like you'd usually use this when programming, right? So rlang might be a better home for it?