LocalFileResourceGetter | R Documentation |
Local file resource getter
Local file resource getter
A R6 object of class LocalFileResourceGetter
Access a file that is stored in the local file system. No credentials apply.
resourcer::FileResourceGetter
-> LocalFileResourceGetter
new()
Creates a new LocalFileResourceGetter instance.
LocalFileResourceGetter$new()
A LocalFileResourceGetter object.
isFor()
Check that the provided resource has a URL that locates a file stored in the local file system.
LocalFileResourceGetter$isFor(resource)
resource
The resource object to validate.
A logical.
downloadFile()
Make a "resource.file" object from a local file resource.
LocalFileResourceGetter$downloadFile(resource, ...)
resource
A valid resource object.
...
Unused additional parameters.
The "resource.file" object.
clone()
The objects of this class are cloneable with this method.
LocalFileResourceGetter$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.