Skip to contents

Creates a directory that is listed in _projr.yml for the current projr profile. Will add to .gitignore and .Rbuildignore as well if required.

Usage

projr_dir_create(label)

Arguments

label

character. One of "data_raw", "cache","output", "archive" and "docs". Class of directory to return. The "docs" option returns the path to the output directory from bookdown::render_book (as specified in "_bookdown.yml"), whereas the others returns paths as specified in "_projr.yml".