get_data_path: Get the data path where climate reconstructions are stored

View source: R/get_data_path.R

get_data_pathR 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


EvolEcolGroup/pastclim documentation built on Nov. 6, 2023, 5:11 a.m.