makeFilename: Generate filename to match Cache files

Description Usage Arguments Value

View source: R/helper-main.R

Description

Generate filename to match Cache files

Usage

1
2
makeFilename(args, pipeName = NULL, fnName = NULL, cachePath = ".",
  sep = ":", collapse = "__", argNames = FALSE)

Arguments

args

a list of arguments to the main function

pipeName

the name of main function

fnName

the name of function that is a step in the main function

cachePath

a character string providing path to the Cache directory.

sep

passed to string. a character to separate arguments and their names. Defaults to ":".

collapse

passed to string. a character to separate arguments(+names) from one another. Defaults to "__".

argNames

passed to string. Boolean indicating whether argument names should be included in the final output.

Value

character string that is the generated filename. It includes the main function and step function names, and the arguments.


jlaffy/statistrics documentation built on May 23, 2019, 4:04 a.m.