Skip to contents

Set or get the project root directory

Usage

get_project_root()

set_project_root(path)

Arguments

path

character, directory a relative store path is rooted at.

Value

get_project_root() the path; set_project_root() the previous value, invisibly.

Examples

get_project_root()
#> [1] "C:/Users/admin/AppData/Local/Temp/RtmpqALduq/energyRt"