isFileExtension | R Documentation |
Check if the provided path has required extension
isFileExtension(file, extension)
file |
A name of the file or full path. |
extension |
A required extension of the file. |
TRUE
if the file name (or full path) includes the extension.
isFileExtension("enum.R", "R") # TRUE isFileExtension("enum.R", "pkml") # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.