locate_n2khab_data: Locate the 'n2khab_data' directory

locate_n2khab_dataR Documentation

Locate the n2khab_data directory

Description

Returns the absolute path of the n2khab_data directory by searching upwards in the directory hierarchy (starting in the working directory); the first hit will be returned.

Usage

locate_n2khab_data()

Details

If the n2khab_data_path option (or environment variable N2KHAB_DATA_PATH) is set, that value will be returned instead (see n2khab_options()).

See the data management advice in the vignette on data storage (run vignette("v020_datastorage")) for more information.

See Also

Other functions regarding file management for N2KHAB projects: checksum(), download_zenodo(), fileman_folders(), fileman_up()

Examples

## Not run: 
locate_n2khab_data()

## End(Not run)


inbo/n2khab documentation built on Jan. 15, 2025, 9:36 a.m.