set_here {here} | R Documentation |
Add a marker file to a project
Description
Usage
set_here(path = ".", verbose = TRUE)
Arguments
path |
|
verbose |
|
Details
set_here()
creates an empty file named .here
, by default
in the current directory.
When here encounters such a file, it uses the
directory that contains this file as root.
This is useful if none of the default criteria apply.
You need to restart the R session so that here()
picks up the newly created file.
Life cycle
set_here()
should no longer be necessary
if all scripts and reports in a project call i_am()
,
which is now the recommended workflow for declaring the project root.
[Package here version 1.0.1 Index]