Just a wrapper on basename() and tools::file_path_sans_ext().

sbf_basename_sans_ext(x)

Arguments

x

A character vector of file paths.

Value

A character vector of extension-less base file names.

Examples

sbf_basename_sans_ext("path/file.ext")
#> [1] "file"