splitFilePath: Split File and Path into Separate Parts
Description
This is a helper function to split path into path and filename.
Code adapted from R.utils filePath command.
Usage
splitFilePath(abspath, normalize = FALSE)
Value
A list with elements for the directory, filename,
and absolute path.
Arguments
- abspath
A character string of the file path