Skip to content

Commit

Permalink
Merge pull request #106 from aappling-usgs/master
Browse files Browse the repository at this point in the history
improve package status communication
  • Loading branch information
aappling-usgs committed Aug 1, 2017
2 parents 08c0bed + 3cce082 commit 319cbc3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 23 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
@@ -1,8 +1,8 @@
Package: powstreams
Type: Package
Title: powstreams
Version: 0.8.2
Date: 2017-05-18
Version: 0.8.3
Date: 2017-08-01
Author: Jordan S Read, Luke A Winslow, Alison Appling, Lindsay Carr
Maintainer: Jordan S Read <jread@usgs.gov>
Description: tools for working Powell Center working group on stream metabolism.
Expand Down
6 changes: 4 additions & 2 deletions R/AAA.R
@@ -1,6 +1,8 @@
# Check whether this package is up to date
.onAttach <- function(libname, pkgname) {
packageStartupMessage(paste("Funding for", pkgname, "expires summer 2017, after which bugfixes & new features will be minimal"))
packageStartupMessage(paste(strwrap("USGS Support Package: https://owi.usgs.gov/R/packages.html#support"), collapse='\n'))
packageStartupMessage(paste(strwrap(
paste("Funding for", pkgname, "expires summer 2017, after which bugfixes & new features will be minimal")), collapse='\n'))

GRAN_update_code <- paste0(
' update.packages(\n',
Expand Down Expand Up @@ -40,4 +42,4 @@
packageStartupMessage("Can't check GitHub for new package versions just now. We'll try again next time.")
})
}
}
}
43 changes: 24 additions & 19 deletions README.md
@@ -1,31 +1,36 @@
# powstreams

Tools for Powell Center working group on stream metabolism
Data exploration tools for USGS Powell Center working group on Continental Patterns of Stream Metabolism

## First-time installation
```r
install.packages("powstreams", dependencies = TRUE,
repos = c("http://owi.usgs.gov/R","https://cran.rstudio.com"))
```
## Updates (do this often after installation)
```r
update.packages(oldPkgs=c("powstreams","gsplot","mda.streams","sbtools","streamMetabolizer","unitted"),
dependencies = TRUE, repos=c("http://owi.usgs.gov/R", "https://cran.rstudio.com"))
```
## Package Status

When you open a project in RStudio, R looks in the project directory for a file called `.RData` and automatically loads it into your R session. Sometimes the contents of this file interfere with package updates. If this is your situation, run `rm(list=ls(all=TRUE))` before trying updates (and please let me know if that doesn't fix it).
| Linux | Windows | Test Coverage | USGS Status |
|-------|---------|---------------|-------------|
|[![master Build Status](https://travis-ci.org/USGS-R/powstreams.svg?branch=master)](https://travis-ci.org/USGS-R/powstreams/branches) | [![master Build Status](https://ci.appveyor.com/api/projects/status/gg6y017krc5ij0ba/branch/master?svg=true)](https://ci.appveyor.com/project/jread-usgs/powstreams/branch/master) | [![master Coverage Status](https://coveralls.io/repos/github/USGS-R/powstreams/badge.svg?branch=master)](https://coveralls.io/github/USGS-R/powstreams?branch=master) | [![USGS Status](https://img.shields.io/badge/USGS-Support-yellow.svg)](https://owi.usgs.gov/R/packages.html#support)|

## Package Status
## Reporting bugs

Please consider reporting bugs and asking questions on the Issues page:
[https://github.com/USGS-R/powstreams/issues](https://github.com/USGS-R/powstreams/issues)

| Name | Status |
| :------------ |:-------------|:-------------|
| Linux Build: | [![master Build Status](https://travis-ci.org/USGS-R/powstreams.svg?branch=master)](https://travis-ci.org/USGS-R/powstreams/branches) |
| Windows Build: | [![master Build status](https://ci.appveyor.com/api/projects/status/gg6y017krc5ij0ba/branch/master?svg=true)](https://ci.appveyor.com/project/jread-usgs/powstreams/branch/master) |
| Package Tests: | [![master Coverage Status](https://coveralls.io/repos/github/USGS-R/powstreams/badge.svg?branch=master)](https://coveralls.io/github/USGS-R/powstreams?branch=master) |
| Priorities: | [![Issues Ready to Address](https://badge.waffle.io/USGS-R/powstreams.png?label=ready&title=Ready)](https://waffle.io/USGS-R/powstreams) [![Issues in Progress](https://badge.waffle.io/USGS-R/powstreams.png?label=In%20Progress&title=In%20Progress)](https://waffle.io/USGS-R/powstreams) |
Follow `@USGS_R` on Twitter for updates on USGS R packages:

[![Twitter Follow](https://img.shields.io/twitter/follow/USGS_R.svg?style=social&label=Follow%20USGS_R)](https://twitter.com/USGS_R)

## Package Support

`powstreams` was developed 2015-2017 with support from the USGS Powell Center (through a working group on Continental Patterns of Stream Metabolism), the USGS NAWQA program, and the USGS Office of Water Information. Ongoing package maintenance is unsupported and therefore minimal.

![USGS](http://usgs-r.github.io/images/usgs.png)

## Installation
```r
install.packages("powstreams", dependencies = TRUE,
repos = c("https://owi.usgs.gov/R","https://cran.rstudio.com"))
```

## 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](http://www.usgs.gov/visual-id/credit_usgs.html#copyright/ "official USGS copyright policy")

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 Down

0 comments on commit 319cbc3

Please sign in to comment.