-
Notifications
You must be signed in to change notification settings - Fork 258
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
Can't writeBin without removing filename attribute when using a file parameter #582
Comments
I like the solution of (** Asking team) |
|
PR incoming |
Thank you @meztez . I think the This will make multipart forms much easier as well. ( (Great catch!) |
Fixed in #636 |
writeBin does not like the raw vector to have attributes (in this case filename)
upload : Error in writeBin(pdf, tempfile()): can only write vector objects
upload2 and upload3 : ok
Should we fix or document use case?
If fix:
a) remove attributes
b) return a named list of bytes list(filename = bytesVector); comes with testing what filename constitute a valid R name.
c) other option that comes down to where does filename should live during execution
The text was updated successfully, but these errors were encountered: