i need to check if an list element exists in R and if not, i need to create one. This happens inside a function.
I have a named list (currently with empty lists):