make_zip_path.Rd
Take a file path, remove the extension, replace the extension with .zip
make_zip_path(file_path)
character.
character. String where extension is replaced by zip
file_path <- "hello.csv" make_zip_path(file_path) #> [1] "hello.zip" file_path_with_dir <- "foo/bar/hello.csv" make_zip_path(file_path_with_dir) #> [1] "foo/bar/hello.zip"