Skip to contents

Helper to import files correctly

Usage

file_extension(filenames)

Arguments

filenames

file names

Value

character vector

Examples

file_extension(list.files(here::here(""))[[2]])[[1]]
#> [1] "md"