-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
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
batchExport() and objects with non-standard names #93
Comments
Just discovered another use case: globals <- list("names<-"=NA)
batchExport(reg, li=globals)
Error in batchExport(reg, li = list(`%>%` = NA)) :
Assertion on 'li' failed: Vector must be named according to R's variable naming rules
assertList(li, names = "strict") |
So, f = fail(...)
...
f$put(li = li)
f$put(li = ddd) The restriction on "keys" for In other words, it looks like the fail package needs to be update to support other type of variable names. An alternative is to have EDIT: URL decode/encode functions are in the |
Problem
It is not possible to export objects with non-standard names, e.g.
Troubleshooting
This due to the following assertion:
Suggestion
I propose to make
names="strict"
and argument ofbatchExport()
, e.g.so that it's possible to do:
The argument name
names
might not be the most informative though to a user ofbatchExport()
.The text was updated successfully, but these errors were encountered: