Description Usage Arguments Details Value Examples
dirs.file_exists
1 2 | dirs.file_exists(name_hint = NULL, file_type = NULL,
return_file_only = FALSE)
|
name_hint |
string a hint or word contained in the file name. |
file_type |
string The extension of the file type |
return_file_only |
logical Should the reference data frame be returned or just the file names and paths. |
This will find and locate any file and allow for filtering by a name hint and a file extension type
A data frame
files character R/data_parse/chains.R
ext character .R
Additionally or optionally a character vector of all returned files or if no items found a string of "No Files"
1 2 3 4 5 6 7 | > dirs.file_exists(name_hint = "nvd3",file_type = "rhtml",TRUE)
# See if the icon reference data is present
> dirs.file_exists(name_hint = "icon",file_type = "rds",TRUE)
# All Files containing 'parse'
> dirs.file_exists("parse",return_file_only = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.