Skip to contents

Title

Usage

file_extension(filenames)

Arguments

filenames

character vector of file name. Splits at the last '.'.

Value

character vector of extension

Examples

file_extension("data/prioritized_sample.csv")
#> [1] "csv"