Skip to content

Commit

Permalink
It IS v1.0.3 being released and a new major release on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Feb 7, 2025
1 parent ddf702c commit 608507d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: getCRUCLdata
Title: 'CRU' 'CL' v. 2.0 Climatology Client
Version: 2.0.0
Version: 1.0.3
Authors@R: c(
person("Adam H.", "Sparks", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-0061-8359")),
Expand Down
50 changes: 25 additions & 25 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

- Add source and references to documentation for data

- Create function aliases that use all lower case, *e.g.*, `get_cru_stack()` vs `get_CRU_stack()`
- Create function aliases that use all lower case, _e.g._, `get_cru_stack()` vs `get_CRU_stack()`

- Improved documentation with linting, ensuring consistency in units of measurement, etc.

Expand Down Expand Up @@ -32,7 +32,7 @@

## Major changes

- The cache is now where ever `tools::R_user_dir(package = "getCRUCLdata", which = "cache")` is defined by R (>= 4.0.0) and *should* align with CRAN standards, so it *might* be possible to get this back on CRAN
- The cache is now where ever `tools::R_user_dir(package = "getCRUCLdata", which = "cache")` is defined by R (>= 4.0.0) and _should_ align with CRAN standards, so it _might_ be possible to get this back on CRAN

- Depends on R (>= 4.0.0)

Expand Down Expand Up @@ -105,14 +105,14 @@
- Removes startup message, instead placing information in CITATION file

- Reorganises internal functions consolidating functions all in a single file
and following a standard naming scheme for all internal functions
and following a standard naming scheme for all internal functions

# getCRUCLdata 0.2.4

## Bug fixes

- Fix bug where `tmp` and `dtr` could not be returned with `tmn` or `tmx` raster
stacks
stacks

- Move `rappdirs` to SUGGESTS to fix NOTEs

Expand All @@ -121,7 +121,7 @@ stacks
- Fix documentation formatting issues

- Enhance `stop` messages for user, just print message, not the function that
called it to clarify
called it to clarify

# getCRUCLdata 0.2.3

Expand Down Expand Up @@ -154,9 +154,9 @@ called it to clarify
- Use _hoardr_ for managing cached files

- Fixed a bug where the file cache was not in the proper subdirectory. The file
cache has moved to the proper location in a `R/getCRUCLdata` location rather
than `getCRUCLdata`. You may wish to move files externally to R in order to keep
them in the cache where the package will find them
cache has moved to the proper location in a `R/getCRUCLdata` location rather
than `getCRUCLdata`. You may wish to move files externally to R in order to keep
them in the cache where the package will find them

- Use `lapply` in place of `purrr::map`, _purrr_ is no longer imported

Expand All @@ -178,7 +178,7 @@ them in the cache where the package will find them
- Add startup message regarding data source, use and citation

- Include Scott Chamberlain as copyright holder and contributor for file
caching functionality
caching functionality

# getCRUCLdata 0.1.9

Expand All @@ -191,18 +191,18 @@ caching functionality
## Bug Fixes

- Fix bug where `cache` was not specified in internal function, `.set_cache()`,
this caused either of the functions fetching data from CRU to fail
this caused either of the functions fetching data from CRU to fail

- Fix bug where `cache` directory could not be created on Windows OS machines

- Fix bug where tmx was returned when *either* tmn *or* tmx was requested for
data frame, tmn now returned when requested and tmx now returned when requested.
Raster stacks were not affected by this bug
- Fix bug where tmx was returned when _either_ tmn _or_ tmx was requested for
data frame, tmn now returned when requested and tmx now returned when requested.
Raster stacks were not affected by this bug

## Minor Changes

- Replaced `for f in 1:length()` with `for f in seq_along()` for better
programming practices
programming practices

# getCRUCLdata 0.1.7

Expand All @@ -213,7 +213,7 @@ programming practices
## Bug Fixes

- Fix bug where `rappdirs::user_config_dir()` was incorrectly used in place of
`rappdirs::user_cache_dir()`
`rappdirs::user_cache_dir()`

# getCRUCLdata 0.1.6

Expand All @@ -236,27 +236,27 @@ programming practices
## Major Changes

- `create_CRU_stack()` and `create_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()` and
`get_CRU_stack()`
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()` and
`get_CRU_stack()`

- R >=3.2.0 now required

- Data can be cached using either `get_CRU_stack()` or `get_CRU_df()` for later
use
use

## Minor Changes

- Improved documentation with examples on mapping and graphing and more detail
regarding the data itself
regarding the data itself

- Change the method in which files are downloaded to use `httr::GET()`

- Ingest data using `data.table::fread` to decrease the amount of time necessary
to run the functions
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
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

Expand All @@ -265,14 +265,14 @@ current R session, if so data file(s) are not requested for download again
## Minor Changes

- Correct fix bug in data frame object generation where elevation was improperly
handled and function would stop
handled and function would stop

# getCRUCLdata 0.1.3

## Minor Changes

- Correct fix bug in raster object generation where the objects were incorrectly
cropped
cropped

- Update documentation with ROxygen 6.0.0

Expand All @@ -283,7 +283,7 @@ cropped
## Minor Changes

- Correct documentation to read that the data resolution is 10 minute, not 10
seconds
seconds

- Correct URLs in DESCRIPTION file

Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ been used since this package was first submitted to CRAN to provide file
caching functionality in this package. I trust that this is sufficient to have
this package reinstated on CRAN.

- This is a new release.
- This is a new major release.

0 comments on commit 608507d

Please sign in to comment.