Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
64fce7794e
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
11 lines (11 sloc) 351 Bytes
#' Creates a path for the filtered object by adding a suffix to the basename of the path supplied.
#'
#' @param path A path
#' @param suffix A suffix to add to the path
#'
#' @return A path
#'
#' @export
make_path_filtered_object <- function(path, suffix = "_filtered") {
paste0(tools::file_path_sans_ext(path), suffix, ".", tools::file_ext(path))
}