path_check: Compatibility Check for 'path' Argument

View source: R/helper_functions.R

path_checkR Documentation

Compatibility Check for path Argument

Description

Compatibility Check for path Argument

Usage

path_check(path)

Arguments

path

A user-supplied string corresponding to the path location where the export is to be saved

Value

A formatted string corresponding to the proper binding of directory and base naming conventions. If user's path is invalid, path_check will throw an error.

Examples

## Not run: 
path = "~dir/abpm/"
path_check(path) # drops the trailing slash

## End(Not run)


bp documentation built on May 10, 2022, 5:12 p.m.