Add elements to a vector, only if names are not duplicated in x and values
append_no_duplicate_names.RdAdd elements to a vector, only if names are not duplicated in x and
values
Usage
append_no_duplicate_names(
x,
values,
after = length(x),
ignore_blank = TRUE,
method = stop
)Arguments
- x, values, after
See
base::append- ignore_blank
Ignore blank names? (Blank names
""occur when an unnamed vector is appended to a named vector.)- method
Function to notify the user if a duplicate is provided? It is called with a message indicating the name of the duplicate. Typically this will be
stoporwarning.
Value
See base::append