clean_for_current_run: Create a directory or delete a file for a new run.

View source: R/checks.R

clean_for_current_runR Documentation

Create a directory or delete a file for a new run.

Description

Rename the old directory or file if existing.

Usage

clean_for_current_run(filetype, delete = TRUE, create_dir = FALSE, ...)

Arguments

filetype

A string indicating the needed directory or file.

delete

A boolean indicating whether the file or directory indicated by the path needs to be deleted.

create_dir

A boolean indicating whether the directory indicated by the path needs to be created.

...

Additional parameters to pass to get_project_file_path.


eMetaboHUB/MS-CleanR documentation built on Jan. 3, 2024, 8:55 p.m.