Skip to content

prism 0.2.1

Latest
Compare
Choose a tag to compare
@rabutler-usbr rabutler-usbr released this 19 Oct 15:26

Released October 17, 2023

Minor Enhancements

  • Added service parameter to get_prism_dailys(), get_prism_monthlys(), and get_prism_annual(), so user can provide subscription based URLs, instead of default public available 4km data. (@adamlilith)
  • Changed defaults in get data functions (#104)
    • get_prism_monthlys()
      • mon now defaults to 1:12, so default now downloads all months for the specified years
      • years no longer has a default of NULL, so user will understand it has to be provided
    • get_prism_annual()
      • years no longer has a default of NULL, so user will understand it has to be provided
    • Minor updates to documentation of mon and years parameters

Bug Fixes and Clean Up

  • Fixed CRAN notes
    • Removed LazyData and LazyLoad from Description to fix CRAN note.
    • Removed lubridate from imports to fix CRAN note.
  • Removed vignette that depended on too many other libraries; did not want to add them all to Suggests and also relied on external shape file. This may be linked to from README in the future.
  • Updated error message in pd_image() when input has length of 0.
  • Fixed documentation for get_prism_normals() to reference the new period (1991-2020). (#111)
  • Updated error message in get_prism_dailys() if a date before Jan. 1, 1981 is provided.
  • Deprecated check parameter in get_prism_dailys() as it does not exist in monthly or annual functions. (#116)
  • Removed purrr from imports by switching one call from purrr:map() to lapply().