The base directory is obtained by getOption("path_trendecon")
. If the
option is not present, the base directory defaults to the parent directory
of the current working directory. To set the option, run
path_trendecon(...)
The full path to the base directory, or (if provided as a parameter), the path to the subdirectory.
R.utils::setOption
path_trendecon("data-raw")
#> /Users/runner/work/trendecon/trendecon/docs/reference/data-raw