Description Usage Arguments Details Value
If passed ~/analyses/project/folder/, where ~/analyses/project is the git toplevel folder, will return
1 | dir_run_branch(dir = getwd(), check = TRUE)
|
dir |
A directory |
check |
Logical, if FALSE no test for whether dir is inside a git work tree |
mngr_option_dir_run("$GIT_TOPLEVEL")/$GIT_BRANCH/folder/
If mngr_option_dir_run($GIT_TOPLEVEL)=$GIT_TOPLEVEL, then just returns what was supplied
Return the path to the corresponding run directory for the supplied directory. If the supplied dir is a run directory, then the supplied directory is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.