Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Releases: adamhsparks/epicrop

v0.0.2

16 Nov 23:45
b331d7a
Compare
Choose a tag to compare

Minor changes

  • Simplify inputs in helper functions, don't create a vector, just use in function call.

  • Use {vcr} for tests involving weather data fetching.

Bug fixes

  • Correct issue where {dplyr} library was not loaded in vignette, causing example to error when run.

v0.0.1

02 Sep 09:59
6116ad1
Compare
Choose a tag to compare

epicrop 0.0.1

  • First stable release on GitHub.

  • Fixes function title formatting.

  • Replaces outdated {tidyverse} functions found in vignettes with modern versions.

v0.0.9018

14 Nov 09:23
6c99dd8
Compare
Choose a tag to compare
v0.0.9018 Pre-release
Pre-release
  • Remove chirps functionality to simplify package structure.

v0.0.917

24 Oct 07:45
69b9246
Compare
Choose a tag to compare
v0.0.917 Pre-release
Pre-release

epicrop 0.0.0.9017

  • Update README R output.

  • Polish map output in the mapping vignette.

  • Polish names for figure in multiple locations figure.

  • Remove references and functionality called from epifitter; AUDPC is calculated internally now.

v0.0.9016

23 Oct 09:46
38c1d46
Compare
Choose a tag to compare
v0.0.9016 Pre-release
Pre-release

epicrop 0.0.0.9016

Minor changes

  • Change audpc to AUDPC for easier graphing.

  • Add new vignette to demonstrate mapping AUDPC values using lat/lon from model output.

v0.0.0.9015

22 Oct 11:44
Compare
Choose a tag to compare
v0.0.0.9015 Pre-release
Pre-release

Includes changes for epicrop 0.0.0.9015 and epicrop 0.0.0.9014

epicrop 0.0.0.9015

Minor changes

  • Add area under the disease progress curve (AUDPC) values to model output.

  • Adds shorthand versions of functions for:

    • predict_bacterial_blight() > predict_bb()
    • predict_brown_spot() > predict_bs()
    • predict_leaf_blast() > predict_lb()
    • predict_sheath_blight() > predict_sb()

Bug fixes

  • Fixes bug when that caused a failure fetching CHIRPS weather data.

epicrop 0.0.0.9014

Minor changes

  • Check user inputs for H0 and I0 to ensure that they are >= 0.

  • 100% complete test coverage.

  • The final data.frame created from vectors of state values in SEIR() is simplified into one step, creating a named data.table rather than create a data.table and then naming cols.

v0.0.0.9013

25 Sep 04:34
Compare
Choose a tag to compare
v0.0.0.9013 Pre-release
Pre-release

epicrop 0.0.0.9013

Bug fixes

  • Fixes a bug introduced into SEIR() with the last round of bug fixes.
    The calculations for latent and infectious sites were still calculating for the next, not current, day in the for() loop.

  • Corrects values in the example for SEIR() to run the model for brown spot.

Minor changes

  • Updates input values for Rc curves in each of the EPIRICE models such that the values used to compute the curve are all supplied, none are computed before the interpolation is performed.
    This leads to longer, but clearer lines of code.

  • All of the help files now reference NASA POWER and CHIRPS both as sources of possible weather data for use in the model.

v0.0.0.9012

18 Sep 09:45
07ad424
Compare
Choose a tag to compare
v0.0.0.9012 Pre-release
Pre-release

epicrop 0.0.0.9012

Bug fixes

Rc[day+1] <- baseRc * AFGen(ageRc, day) * AFGen(tmpRc, wthsub$tavg[day+1]) * RHCoef[day+1]

should have been

Rc[day+1] <- baseRc * AFGen(ageRc, day+1) * AFGen(tmpRc, wthsub$tavg[day+1]) * RHCoef[day+1]

to calculate the basic infection rate, Rc, for day + 1. Commit: 248df5512b5897e950dd58a0a8b3fd57922add47.

  • Fixes typos in RcA values for predict_bacterial_blight() and predict_sheath_blight().

Major changes

  • Implements a new function to calculate the correction values for crop age, RcA, and temperature, RcT, using approx() in a custom function that is faster than the select_mod_value() function.

  • Implements new functionality for get_wth() to optionally get data from the CHIRPS/CHIRTS APIs in addition to the default NASA POWER API.

  • Uses one-indexed for() loop, in place of the zero-indexed for() loop found in cropsim.

v0.0.0.9010-1

18 Jul 07:43
650e73e
Compare
Choose a tag to compare
v0.0.0.9010-1 Pre-release
Pre-release

epicrop 0.0.0.9010-1

Minor changes

  • Fixes issue in vignettes with duplicate titles and plot theming.

v0.0.0.9010

18 Jul 06:29
e1e5bc9
Compare
Choose a tag to compare
v0.0.0.9010 Pre-release
Pre-release

epicrop 0.0.0.9010

Major changes

  • BREAKING CHANGE intensity column, in SEIR() is now a proportion, i.e. values range between 0 - 1.
    If you wish to have the same values as previously reported, df$intensity*100 will give you these values.

  • BREAKING CHANGE Removes column, severity, in SEIR() output.

  • Adds a new vignette illustrating how to run multiple simulations and use parallel processing to reduce run time for these simulations.