RMevents_Sample
Created by: lukeloken
Fixed a bug in the RMevents_sample function. Previously it would not capture rain preceding sample start if the first rain value after the sample start time had a time difference greater than the ieHr argument. For example if it stopped raining immediately prior to the sample start time it would not capture the prior rain event.
Also added a test and package dependencies. I used sym()
notation and added rlang to the description. Could change to ggplot2 or another package if rlang has other issues.