Update list with input
A wrapper for utils::modifyList()
that attempts to coerce non-lists to lists before updating.
update_list(old, new)
old
: a list to be updatednew
: stuff to update x
withReturns an updated list.
utils::modifyList()
Useful links