getCRUCLdata 2.0.0
CRAN release: 2026-05-20
Major changes
Almost a complete rewrite of the package.
R >= 4.1.0 is now required.
create_CRU_stack()andcreate_CRU_df()functions have been removed.get_CRU_stack()andget_CRU_df()functions have been removed.New functions
read_cru_rast()to align with {terra} naming andread_cru_dt()to align with {data.table} naming have been added to either download or load data from local files using a single unified function.Caching is no longer supported, this is both to simplify the package and to avoid issues with CRAN policies. Users are encouraged to manage their own caching solutions if needed, e.g., {targets} or save the data locally after downloading using their preferred format and methods.
getCRUCLdata 1.0.3
CRAN release: 2025-02-08
Major Changes
create_CRU_stack()andcreate_CRU_df()now only work with locally available files. If you need to fetch and create a data frame or raster stack of the data, please use the new functions,get_CRU_stack()andget_CRU_stack().R >=3.2.0 now required.
Data can be cached using either
get_CRU_stack()orget_CRU_df()for later use.
Minor Changes
Improved documentation with examples on mapping and graphing and more detail regarding the data itself.
Change the method in which files are downloaded to use
httr::GET().Ingest data using
data.table::freadto decrease the amount of time necessary to run the functions.Functions check to see if data file(s) have already been downloaded during current R session, if so data file(s) are not requested for download again.
Months are returned as a factor object in the tidy data frame.
