Description Usage Arguments Value Examples
Determine whether an R file exists regardless of case of extension.
1 | extensionless_exists(filename)
|
filename |
character. The filename to test (possibly without extension). |
TRUE
or FALSE
if the filename exists regardless of
R extension.
1 2 3 4 5 6 7 | ## Not run:
# Assume we have a file \code{"foo.R"}. The following all return \code{TRUE}.
extensionless_exists('foo.R')
extensionless_exists('foo.r')
extensionless_exists('foo')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.