View source: R/dirnames_filenames.R
| worcs_root | R Documentation |
The search starts at path, and recursively proceeds up the
directory hierarchy until a worcs project directory is found.
worcs_root(path = ".")
path |
Start directory, Default: '.' (current directory). |
Normalized path of the worcs project root directory.
find_root
if(requireNamespace("withr", quietly = TRUE)){
withr::with_tempdir({
writeLines("", ".worcs")
worcs_root()
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.