Learn R Programming

bp (version 2.1.0)

path_check: 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

Run this code
# NOT RUN {
path = "~dir/abpm/"
path_check(path) # drops the trailing slash
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab