Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I know everything is ok if the element name is not "x", which is the same name of the formal argument...
"x"
update_list(list(x = 1), x = 2) #> Error: is.list(x) is not TRUE
Is it possible to use a list or named character vector instead?
update_list(list(x = 1), list(x = 2)) update_list(list(x = 1), c(x = 2))
The text was updated successfully, but these errors were encountered:
c707dbe
Successfully merging a pull request may close this issue.
I know everything is ok if the element name is not
"x"
, which is the same name of the formal argument...Is it possible to use a list or named character vector instead?
The text was updated successfully, but these errors were encountered: