construct_processed_filename: Construct Processed Filename

Description Usage Arguments Value Examples

View source: R/path.R

Description

Given the path to a file, construct a unique filename using the hash of the path.

Usage

1
construct_processed_filename(source_path, extension = "")

Arguments

source_path

Character scalar; the full path to the source file.

extension

Character scalar; an optional filename extension.

Value

A unique filename for a processed version of the file.

Examples

1
2
3
4
construct_processed_filename(
  source_path = "my/file.txt",
  extension = "rds"
)

dlr documentation built on Sept. 18, 2021, 5:07 p.m.