View source: R/ensure-source.R
data_file | R Documentation |
This looks in the locations in the following order and returns the first path that exists:
data_file(...)
... |
file path to look for |
source dir ("data")
as well as the temp directory ("data/temp")
If there is not a file present in either of those, it returns NULL
path to the file (or NULL if the file doesn't exist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.