Add an item to the end of a list

util_append_to_list(my_list, to_append)

Arguments

my_list

A list

to_append

A list

Value

A list merged with an added item at the end

Examples

 if (FALSE) {
util_append_to_list(as.list(dplyr::starwars)[c(1,2)], as.list(dplyr::starwars)[c(3,4)])
}