Deprecated lifecycle

Vector functions are now out of scope for rlang. They might be revived in the vctrs or funs packages.

prepend(x, values, before = 1)

modify(.x, ...)



the vector to be modified.


to be included in the modified vector.


a subscript, before which the values are to be appended.


A vector to modify.


List of elements to merge into .x. Named elements already existing in .x are used as replacements. Elements that have new or no names are inserted at the end. These dots support tidy dots features.