summaryrefslogtreecommitdiff
path: root/docs/news/index.md
blob: 3077509ff0c62fd8f99aee64b83d0986b8d96956 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Changelog

## version 0.6.5

- R/PEC_sw_drift.R: Support specifying units for distances and widths
  using the units package.

- R/TOXSWA_cwa.R: Adapt to readr (\>= 2.2.0) requiring to wrap literal
  input as used for reading .out files with I().

- R/PEC_sw_drainage_UK.R: Create a function `drainage_date_UK` that does
  not only respect the beginning of the drainage period on 1 October,
  but also the end of the drainage period on 30 April, and use it for
  determining the degradation time. Applications early in the year
  before 1 May will now correctly be calculated without degradation
  time.

- R/PEC_sw_drift.R: Vectorise the function not only with respect to
  distances, rates and water depths, but also with respect to crop
  groups. Closes issue [\#2](https://github.com/jranke/pfm/issues/2)
  reported by Julian Klein ([@juklei](https://github.com/juklei)).

## version 0.6.4

- R/PEC_sw_drainage_uk.R: Fix a bug preventing the function to work of
  `latest_application` is set to 29 February. Also, make this function
  correctly deal with units.

- R/twa.R: Fix a bug in plotting one-box models of class `one_box` that
  affected plots that displayed a time weighted average.

- R/PEC_sw_drainage_uk.R: Fix a bug leading to increased PEC values in
  the case the application date is after the beginning of the drainage
  period and `soil_DT50` was specified.

## version 0.6.3

- R/{PEC_sw_drift,PEC_sw_exposit_runoff,PEC_sw_sed}.R: Make use of the
  `units` package.

- R/PEC_sw_drift.R: Change argument name from ‘crop_group_focus’ to
  ‘crop_group_RF’, in order to make it easier to understand the relation
  to the ‘drift_data’ argument.

Contact - Imprint