This helper function locates and opens (or returns the path to) the
.shrtcts.R
or .shrtcts.yml
file.
Arguments
- open
If
TRUE
and the shrtcts source file is found (see paths), then the file is opened viafile.edit()
. Otherwise, the path is returned.- path
The path to your
.shtrcts.yaml
file. IfNULL
, shrtcts will look in your R or OS home directory (viafs::path_home_r()
orfs::path_home()
). You can set this path via the global option"shrtcts.path"
. For more information, see the help documentation on paths.