check_path: Check if a path exist.

View source: R/checks.R

check_pathR Documentation

Check if a path exist.

Description

Check if a path exist.

Usage

check_path(filetype, stop = TRUE, na_msg = NA, ...)

Arguments

filetype

A string indicating the needed directory or file.

stop

If TRUE, stops the script if a path is not found.

na_msg

A string with info to print if path doesn't exist.

...

Additional parameters passed on to get_project_file_path.


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