Skip to contents

Setup a directory if it does not exist.

Usage

setup_directory(directory)

Arguments

directory

The path to the directory to be created.

Value

Returns TRUE if the directory is created, FALSE otherwise.

Examples

setup_directory("new_directory_path")
#> [1] TRUE