R/file_read.R
file_extension.Rd
Get the file extension from a provided filepath
file_extension(file)
character. Filepath
character
file_extension("my_file.txt") #> [1] "txt"