View source: R/filesystem-locations.R
resource_dir | R Documentation |
This is fiddly, follow the same rules
create if needed
don't clobber
fail if a file is where a directory should be
give a clear message of the issues on failure
resource_dir(name, path, ...)
name |
name of environmental variable storing resource location |
path |
location to of resource |
path of known-to-exist resource
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.