construct_processed_filename {dlr} | R Documentation |
Given the path to a file, construct a unique filename using the hash of the path.
construct_processed_filename(source_path, extension = "")
source_path |
Character scalar; the full path to the source file. |
extension |
Character scalar; an optional filename extension. |
A unique filename for a processed version of the file.
construct_processed_filename(
source_path = "my/file.txt",
extension = "rds"
)