
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()
.
use_directory(path, ignore = FALSE)
Path of the directory to create, relative to the project.
Should the newly created file be added to .Rbuildignore
?
# NOT RUN {
use_directory("inst")
# }
Run the code above in your browser using DataLab