get_data_path {pastclim} | R Documentation |
Get the data path where climate reconstructions are stored
Description
This function returns the path where climate reconstructions are stored.
Usage
get_data_path(silent = FALSE)
Arguments
silent |
boolean on whether a message is returned when data_path is not set (i.e. equal to NULL) |
Details
The path is stored in an option for pastclim
named data_path
. If
a configuration file was saved when using set_data_path()
, the path
is retrieved from a file named "pastclim_data.txt", which
is found in the directory returned by
tools::R_user_dir("pastclim","config")
(i.e.
the default configuration directory for the package as set in R >= 4.0).
Value
the data path
[Package pastclim version 2.1.0 Index]