Base USGS water science R functions.
R
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R Getting 0 Notes Sep 18, 2017
demo Revised disclaimer Apr 1, 2015
images Update readme Dec 13, 2016
inst https Jul 27, 2017
man https Jul 27, 2017
tests Updates for tests Mar 5, 2015
vignettes https Jul 27, 2017
.Rbuildignore Getting 0 Notes Sep 18, 2017
.travis.yml Do the vanilla no wait Jul 27, 2017
CONDUCT.md Communications update Jul 27, 2017
DESCRIPTION update version number Sep 18, 2017
NAMESPACE Getting 0 Notes Sep 18, 2017
NEWS bug fix in regularSeries Dec 8, 2015
README.md Merge pull request #13 from ldecicco-USGS/master Jul 28, 2017

README.md

smwrBase

Base R functions to support statistical methods in water resources.

Package Status

Current build tests:

Linux Test Coverage USGS Status
travis Coverage Status status

Reporting bugs

Please consider reporting bugs and asking questions on the Issues page: https://github.com/USGS-R/smwrBase/issues

Follow @USGS_R on Twitter for updates on USGS R packages:

Twitter Follow

Code of Conduct

We want to encourage a warm, welcoming, and safe environment for contributing to this project. See the code of conduct for more information.

Package Installation

To install the smwrBase package:

USGS R Installation Instructions: https://owi.usgs.gov/R/training-curriculum/installr/

  1. Install R (version 3.0 or greater) from: https://cran.r-project.org/

  2. Install RStudio from: https://www.rstudio.com/products/rstudio/download/

  3. Add the USGS R repository to your "Rprofile" to get automatic updates. Run the following code:

rprofile_path = file.path(Sys.getenv("HOME"), ".Rprofile")
write('\noptions(repos=c(getOption(\'repos\'),
  CRAN=\'https://cloud.r-project.org\',
  USGS=\'https://owi.usgs.gov/R\'))\n',
    rprofile_path, 
    append =  TRUE)

cat('Your Rprofile has been updated to include GRAN.
  Please restart R for changes to take effect.')
  1. Restart R!

  2. In the RStudio "Console" window (usually left or lower-left), run the following command:

install.packages("smwrBase")
  1. Update often. Next time you update your packages, smwrBase will automatically update:

    update

  2. Make sure to keep your version of R up-to-date. CRAN and the USGS repository will only update packages for the most recent version of R, and one version behind that.

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 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.

This software is provided "AS IS."

Linux: travis