Skip to contents

Gives the default mordew_wd of the functions that write or read the package being developed, such as add_tool() or run_evals(): the mordew.wd option when it is set, the working directory otherwise. Set the option to work on a package from another folder, as options(mordew.wd = "runlog").

Usage

get_mordew_wd()

Value

The path of the package, as a string.

Examples

get_mordew_wd()
#> [1] "."
old <- options(
  mordew.wd = "runlog"
)
get_mordew_wd()
#> [1] "runlog"
options(
  old
)