I have a function that takes a data frame as input and creates a new data frame as output.
I would like the function to assign a name of <oldname>_updated to this output data frame.
For example, if my input data frame name is df1, the output data frame should be named df1_updated.
I tried assigning my function output to paste(my_df, "_updated") but it returned this error: target of assignment expands to non-language object.