R/string.R
removeExtension.Rd
Remove File Name Extension
removeExtension(x)
vector of character
removeExtension("example.R") #> [1] "example" removeExtension("any/path/example.txt") #> [1] "any/path/example"