Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4 from ldecicco-USGS/master
Browse files Browse the repository at this point in the history
minor updates
  • Loading branch information
ldecicco-USGS committed Jun 9, 2017
2 parents b20145c + b455be2 commit 4fc5b8f
Show file tree
Hide file tree
Showing 54 changed files with 68 additions and 82 deletions.
4 changes: 4 additions & 0 deletions .Rbuildignore
@@ -0,0 +1,4 @@
^.*\.Rproj$
^\.Rproj\.user$
travis.yml

56 changes: 32 additions & 24 deletions .travis.yml
@@ -1,38 +1,46 @@
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis
# Sample .travis.yml for R projects.
#
# See README.md for instructions, or for more configuration options,
# see the wiki:
# https://github.com/craigcitro/r-travis/wiki

language: c
language: r
cache: packages
dist: trusty

os:
- osx
- linux
matrix:
include:
- os: linux
r: release
env: R_CODECOV=true

addons:
apt:
packages:
- libcurl4-openssl-dev

env:
global:
- CRAN: http://cran.rstudio.com
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
- BOOTSTRAP_LATEX=""
- NOT_CRAN="true"
- NOT_CRAN="true"
- _R_CHECK_FORCE_SUGGESTS_=false

warnings_are_errors: true

script: "./travis-tool.sh run_tests"
r_github_packages:
- jimhester/covr
- USGS-R/smwrData
- USGS-R/smwrBase
- USGS-R/smwrGraphs
- USGS-R/smwrStats
- USGS-R/smwrQW

before_script:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- "./travis-tool.sh bootstrap"
- "./travis-tool.sh aptget_install r-cran-rodbc"
- "./travis-tool.sh install_deps - ./travis-tool.sh install_r methods stats digest memoise testthat KernSmooth akima lubridate dataRetrieval car leaps boot coin XML evd stats4 robust randtests
survival XML zCompositions NADA psych"
- "./travis-tool.sh install_github USGS-R/smwrData"
- "./travis-tool.sh install_github USGS-R/smwrBase"
- "./travis-tool.sh install_github USGS-R/smwrGraphs"
- "./travis-tool.sh install_github USGS-R/smwrStats"
- "./travis-tool.sh install_github USGS-R/smwrQW"
after_success:
- if [[ "${R_CODECOV}" ]]; then R -e 'covr::coveralls()'; fi

after_script:
- "./travis-tool.sh dump_logs"

notifications:
email:
on_success: change
on_failure: change

4 changes: 2 additions & 2 deletions DESCRIPTION
@@ -1,5 +1,5 @@
Package: DVstats
Version: 0.3.3
Version: 0.3.3.9000
Date: 2016-01-25
Title: Functions to manipulate daily-values data
Author: Dave Lorenz <lorenz@usgs.gov>
Expand Down Expand Up @@ -71,4 +71,4 @@ Collate:
'setSeasons.R'
'subset.fall.R'
'wtf.R'
RoxygenNote: 5.0.1
RoxygenNote: 6.0.1
7 changes: 7 additions & 0 deletions NAMESPACE
Expand Up @@ -56,6 +56,13 @@ import(smwrGraphs)
import(smwrQW)
import(smwrStats)
import(stats)
importFrom(grDevices,dev.off)
importFrom(graphics,par)
importFrom(graphics,plot)
importFrom(graphics,plot.new)
importFrom(graphics,text)
importFrom(robust,lmRob)
importFrom(stats4,mle)
importFrom(utils,capture.output)
importFrom(utils,menu)
useDynLib(DVstats,roraf)
3 changes: 3 additions & 0 deletions R/plot.baseflow.R
Expand Up @@ -15,6 +15,9 @@
#' @seealso \code{\link{bfi}}, \code{\link{hysep}}, \code{\link{part}},
#' @keywords hplot
#' @method plot baseflow
#' @importFrom grDevices dev.off
#' @importFrom graphics par plot plot.new text
#' @importFrom utils capture.output menu
#' @export
plot.baseflow <- function(x, which = "All", set.up = TRUE, ...) {
STAID <- attr(x, "STAID")
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -5,7 +5,7 @@ USGS water science R functions for the analysis of daily-values data.

Disclaimer
----------
This software is in the public domain because it contains materials that originally came from the U.S. Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at [http://www.usgs.gov/visual-id/credit_usgs.html#copyright](http://www.usgs.gov/visual-id/credit_usgs.html#copyright)
This software is in the public domain because it contains materials that originally came from the U.S. Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at [https://www.usgs.gov/visual-id/credit_usgs.html#copyright](https://www.usgs.gov/visual-id/credit_usgs.html#copyright)

Although this software program has been used by the U.S. Geological Survey (USGS), no warranty, expressed or implied, is made by the USGS or the U.S. Government as to the accuracy and functioning of the program and related program material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.

Expand All @@ -16,9 +16,9 @@ Installation

```R
install.packages("DVstats",
repos=c("http://owi.usgs.gov/R",
repos=c("https://owi.usgs.gov/R",
"http://cran.us.r-project.org"),
dependencies = TRUE)
```

Linux: [![travis](https://travis-ci.org/USGS-R/smwrQW.svg?branch=master)](https://travis-ci.org/USGS-R/DVstats)
Linux: [![travis](https://travis-ci.org/USGS-R/DVstats.svg?branch=master)](https://travis-ci.org/USGS-R/DVstats)
Binary file modified inst/doc/MasterRecessionCurve.pdf
Binary file not shown.
Binary file modified inst/doc/SevenDay.pdf
Binary file not shown.
13 changes: 6 additions & 7 deletions man/DVstats-package.Rd

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

6 changes: 4 additions & 2 deletions man/Lognormal3.Rd

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

1 change: 0 additions & 1 deletion man/PredModels.Rd

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

1 change: 0 additions & 1 deletion man/QPPQ.Rd

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

1 change: 0 additions & 1 deletion man/aggregate.baseflow.Rd

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

1 change: 0 additions & 1 deletion man/aggregate.rise.Rd

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

1 change: 0 additions & 1 deletion man/aggregate.rora.Rd

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

1 change: 0 additions & 1 deletion man/antecedentRR.Rd

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

1 change: 0 additions & 1 deletion man/baseDur.Rd

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

1 change: 0 additions & 1 deletion man/bfi.Rd

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

1 change: 0 additions & 1 deletion man/climateYear.Rd

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

1 change: 0 additions & 1 deletion man/confirm.Rd

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

1 change: 0 additions & 1 deletion man/confirm.fall.Rd

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

1 change: 0 additions & 1 deletion man/confirm.recess.Rd

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

1 change: 0 additions & 1 deletion man/consistentFDC.Rd

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

1 change: 0 additions & 1 deletion man/dvStat.Rd

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

1 change: 0 additions & 1 deletion man/estFDC.Rd

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

1 change: 0 additions & 1 deletion man/extend.Rd

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

1 change: 0 additions & 1 deletion man/fall.Rd

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

1 change: 0 additions & 1 deletion man/flowDurClasses.Rd

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

1 change: 0 additions & 1 deletion man/freqAnal.Rd

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

1 change: 0 additions & 1 deletion man/freqReport.Rd

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

1 change: 0 additions & 1 deletion man/hmean.Rd

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

1 change: 0 additions & 1 deletion man/hysep.Rd

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

1 change: 0 additions & 1 deletion man/join.Rd

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

1 change: 0 additions & 1 deletion man/part.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/plot.baseflow.Rd

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

1 change: 0 additions & 1 deletion man/plot.fall.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/plot.freqAnal.Rd

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

1 change: 0 additions & 1 deletion man/plot.recess.Rd

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

1 change: 0 additions & 1 deletion man/plot.rise.Rd

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

1 change: 0 additions & 1 deletion man/plot.rora.Rd

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

1 change: 0 additions & 1 deletion man/predict.freqAnal.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/print.baseflow.Rd

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

1 change: 0 additions & 1 deletion man/print.fall.Rd

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

1 change: 0 additions & 1 deletion man/print.freqAnal.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/print.recess.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/print.rise.Rd

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

0 comments on commit 4fc5b8f

Please sign in to comment.