Copies the example Makefile pipeline shipped with dnaEPICO to a user-specified directory for local execution or modification.

extractMake(destDir, overwrite = FALSE)

Arguments

destDir

Character. Destination directory where the Makefile will be copied.

overwrite

Logical. Whether to overwrite an existing Makefile in destDir. The default is FALSE.

Value

Character scalar containing the path to the copied Makefile.

Examples

tmp <- file.path(tempdir(), "dnaEPICO-make-example")
dir.create(tmp, recursive = TRUE, showWarnings = FALSE)
makefile_path <- extractMake(
  destDir = tmp,
  overwrite = TRUE
)
stopifnot(file.exists(makefile_path))