funs icon indicating copy to clipboard operation
funs copied to clipboard

modify_vector()

Open jennybc opened this issue 9 years ago • 1 comments

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.

jennybc avatar Sep 12 '16 06:09 jennybc

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

hadley avatar Nov 29 '19 04:11 hadley