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, ...)

Arguments

x

the vector to be modified.

values

to be included in the modified vector.

before

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

.x

A vector to modify.

...

<dynamic> 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.