Skip to content

Commit

Permalink
version and some check issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed Aug 4, 2017
1 parent 6cd451c commit d476295
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Package: EflowStats
Type: Package
Title: Returns Hydrologic Indicator stats for a given set of data
Version: 1.0
Date: 2017-04-04
Authors@R: c( person("Joe", "Mills", role = c("aut","cre"),
Title: Hydrologic Indicator and Alteration Stats
Version: 5.0.0
Date: 2017-08-04
Authors@R: c( person("Joe", "Mills", role = c("aut"),
email = "[email protected]"),
person("David", "Blodgett", role = c("aut"),
person("David", "Blodgett", role = c("aut","cre"),
email = "[email protected]"))
Depends:
R (>= 3.3)
Expand All @@ -23,7 +23,7 @@ Suggests:
DT,
dataRetrieval,
readr
Description: EflowStats is a reimplementation of the Hydrologic Index Tool
Description: A reimplementation of the Hydrologic Index Tool
(HIT; Henriksen et al, 2006) for calculating 171 hydrologic indices
for stream classification analysis. EflowStats also calculates 7
additional statistics used for streamflow classification reffered
Expand Down
3 changes: 2 additions & 1 deletion R/00_EflowStats.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ month_val <- discharge <- leapYear <- day <-
roll30Mean <- roll90Mean <- events <-
. <- highFlow <- CV <- block <-
peakQ <- flow <- maxFlow <-
minFlow <- event <- ".dplyr.var"
minFlow <- event <- calendar_day <-
".dplyr.var"

check_preference <- function(pref) {
if(!pref %in% c("mean", "median")){
Expand Down
2 changes: 1 addition & 1 deletion R/calc_timingHigh.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' flow is less than the 1.67-year flood threshold and also occurs in all years. Accumulate nonflood days that
#' span all years. TH3 is maximum length of those flood-free periods divided by 365.
#' }
#' Note: In these definitions, Julian date should be interpreted as the count of days starting with 1 on January
#' Note: In these definitions, "Julian date" should be interpreted as the count of days starting with 1 on January
#' first of a given year, ending at 365 or 366 on December 31st.
#' @return A data.frame of flow statistics
#' @importFrom lubridate year
Expand Down
2 changes: 1 addition & 1 deletion R/calc_timingLow.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' threshold as the ratio of number of days to 365 or 366 (leap year) for each year. TL4 is the maximum of the yearly
#' ratios.
#' }
#' Note: In these definitions, Julian date should be interpreted as the count of days starting with 1 on January
#' Note: In these definitions, "Julian date" should be interpreted as the count of days starting with 1 on January
#' first of a given year, ending at 365 or 366 on December 31st.
#' @return A data.frame of flow statistics
#' @importFrom lubridate year
Expand Down
2 changes: 1 addition & 1 deletion man/calc_timingHigh.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/calc_timingLow.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d476295

Please sign in to comment.