use_directory {usethis}R Documentation

Use a directory

Description

use_directory() creates a directory (if it does not already exist) in the project's top-level directory. This function powers many of the other use_ functions such as use_data() and use_vignette().

Usage

use_directory(path, ignore = FALSE)

Arguments

path

Path of the directory to create, relative to the project.

ignore

Should the newly created file be added to .Rbuildignore?

Examples

## Not run: 
use_directory("inst")

## End(Not run)

[Package usethis version 3.0.0 Index]