Convert a resource to a filename.
director_filename(name, absolute = FALSE, check.exists = TRUE, helper = FALSE, enclosing = FALSE)
name | character. The resource name to convert to a full path. |
---|---|
absolute | character. Whether or not to return the absolute path
(i.e., prepended by the director root). The default is |
check.exists | logical. Whether or not to check if the file exists.
The default is |
helper | logical. Whether or not to handle helper files instead of
resources. The default is |
enclosing | logical. If |
the absolute path, relative to the director root if
absolute = FALSE
and an absolute path if absolute = TRUE
.