get_object_path: Get global path option for saving/loading objects

Description Usage Value See Also Examples

View source: R/utils_save-load.R

Description

Get global path option for saving/loading objects

Usage

1

Value

NA; used for side effects to get the global option jdtools.rds.path if applicable.

See Also

Other utils-save-load: set_object_path(), unset_object_path()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
if (interactive()) {

fs::dir_create(here::here("test-folder"))
# Will state option is unset
jdtools::get_object_path()

jdtools::set_object_path("test-folder")
# Will return path
jdtools::get_object_path()

}

jdtrat/jdtools documentation built on Dec. 20, 2021, 10:05 p.m.