| HttpFileResourceGetter | R Documentation |
HTTP file resource getter
HTTP file resource getter
A R6 object of class HttpFileResourceGetter
Access a file that is stored at a HTTP(S) address. Use Basic authentication header if both resource's identity and secret are defined.
resourcer::FileResourceGetter -> HttpFileResourceGetter
new()Creates a new HttpFileResourceGetter instance.
HttpFileResourceGetter$new()
A HttpFileResourceGetter object.
isFor()Check that the provided resource has a URL that locates a file accessible through "http" or "https".
HttpFileResourceGetter$isFor(resource)
resourceThe resource object to validate.
A logical.
downloadFile()Download the file from the remote address in a temporary location. Applies Basic authentication if credentials are provided in the resource.
HttpFileResourceGetter$downloadFile(resource, ...)
resourceA valid resource object.
...Unused additional parameters.
The "resource.file" object.
clone()The objects of this class are cloneable with this method.
HttpFileResourceGetter$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.