Returns TRUE if the given string looks like a local file path (absolute
or relative, Unix/Windows style), FALSE otherwise. Convenience wrapper
around the internal .detectInputType() helper.
See also
isURL() for the complementary URL check.
Other file.path:
buildPath(),
fileExistURL(),
findDownload(),
isURL(),
splitPath()
Examples
isFilePath("/home/user/data/file.csv") # TRUE
#> [1] TRUE
isFilePath("~/documents/report.pdf") # TRUE
#> [1] TRUE
isFilePath("./relative/path/file.R") # TRUE
#> [1] TRUE
isFilePath("../other/folder/data.rds") # TRUE
#> [1] TRUE
isFilePath("C:/Users/Hans/file.xlsx") # TRUE
#> [1] TRUE
isFilePath("https://example.com/f.csv") # FALSE
#> [1] FALSE
