Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work on #53 #63

Merged
merged 8 commits into from Nov 13, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 14 additions & 8 deletions .travis.yml
Expand Up @@ -2,19 +2,25 @@ language: r
sudo: required
warnings_are_errors: true

before_install:
echo "options(repos = c(CRAN='http://cran.r-project.org'))" > .Rprofile

r_github_packages:
- jimhester/covr
- appling/unitted
- USGS-R/smwrData
- USGS-R/smwrBase
- USGS-R/smwrGraphs
- USGS-R/smwrStats
- USGS-R/smwrQW
- USGS-R/rloadest
- jimhester/covr
- appling/unitted@v0.2.5
- USGS-R/smwrData@v1.1.0
- USGS-R/smwrBase@v1.1.0
- USGS-R/smwrGraphs@v1.1.0
- USGS-R/smwrStats@v0.7.2
- USGS-R/smwrQW@v0.7.5
- USGS-R/rloadest@v0.4.2

after_success:
- Rscript -e 'covr::codecov(); covr::coveralls()'

after_failure:
- ./travis-tool.sh dump_logs

notifications:
email:
on_success: change
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
@@ -1,8 +1,8 @@
Package: loadflex
Type: Package
Title: Models and Tools for Watershed Flux Estimates
Version: 1.0.0
Date: 2015-06-04
Version: 1.0.1
Date: 2015-11-12
Author: Alison Appling, Miguel Leon
Maintainer: Alison Appling <alison.appling@gmail.com>
Description: Implements several of the most common methods for
Expand Down
8 changes: 4 additions & 4 deletions R/loadflex.R
Expand Up @@ -30,14 +30,14 @@
#' @section Installation:
#'
#' loadflex makes use of packages that are currently only available from
#' GitHub. To install these packages, run the following lines:
#' GitHub or the USGS R package repository. To install these packages, run the
#' following lines:
#'
#' install.packages(c("smwrData", "smwrBase", "smwrGraphs", "smwrStats",
#' "smwrQW"), repos=c("http://owi.usgs.gov/R", "http://usgs-r.github.com",
#' "smwrQW", "rloadest"), repos=c("http://owi.usgs.gov/R",
#' "http://cran.us.r-project.org"), dependencies=TRUE, type="both")
#'
#' devtools::install_github(c("USGS-R/rloadest", "appling/unitted",
#' "mcdowelllab/loadflex"))
#' devtools::install_github(c("appling/unitted", "mcdowelllab/loadflex"))
#'
#' @name loadflex
#' @docType package
Expand Down
16 changes: 9 additions & 7 deletions README.md
Expand Up @@ -27,12 +27,14 @@ To see how to cite this package, type `citation("loadflex")`.

# Installation

loadflex makes use of packages that are currently only available from
GitHub. To install these packages, run the following lines:

loadflex makes use of packages that are currently only available from
GitHub or the USGS R package repository. To install these packages,
run the following lines:

```{r}
install.packages(c("smwrData", "smwrBase", "smwrGraphs", "smwrStats", "smwrQW"),
repos=c("http://owi.usgs.gov/R","http://usgs-r.github.com","http://cran.us.r-project.org"), dependencies=TRUE, type="both")

devtools::install_github(c("USGS-R/rloadest", "appling/unitted", "mcdowelllab/loadflex"))
install.packages(c("smwrData", "smwrBase", "smwrGraphs", "smwrStats",
"smwrQW", "rloadest"), repos=c("http://owi.usgs.gov/R",
"http://cran.us.r-project.org"), dependencies=TRUE, type="both")

devtools::install_github(c("appling/unitted", "mcdowelllab/loadflex"))
```
5 changes: 3 additions & 2 deletions appveyor.yml
Expand Up @@ -8,15 +8,16 @@ environment:
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/jread-usgs/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
cmd: echo "options(repos = c(CRAN='http://cran.r-project.org'))" > .Rprofile

install:
ps: Bootstrap

build_script:
- R --version
- travis-tool.sh install_github appling/unitted USGS-R/smwrData USGS-R/smwrBase USGS-R/smwrGraphs USGS-R/smwrStats USGS-R/smwrQW USGS-R/rloadest
- travis-tool.sh install_github appling/unitted@v0.2.5 USGS-R/smwrData@v1.1.0 USGS-R/smwrBase@v1.1.0 USGS-R/smwrGraphs@v1.1.0 USGS-R/smwrStats@v0.7.2 USGS-R/smwrQW@v0.7.5 USGS-R/rloadest@v0.4.2
- travis-tool.sh install_deps

test_script:
Expand Down
8 changes: 4 additions & 4 deletions man/loadflex.Rd
Expand Up @@ -43,13 +43,13 @@ Models and Tools for Watershed Flux Estimates


loadflex makes use of packages that are currently only available from
GitHub. To install these packages, run the following lines:
GitHub or the USGS R package repository. To install these packages, run the
following lines:

install.packages(c("smwrData", "smwrBase", "smwrGraphs", "smwrStats",
"smwrQW"), repos=c("http://owi.usgs.gov/R", "http://usgs-r.github.com",
"smwrQW", "rloadest"), repos=c("http://owi.usgs.gov/R",
"http://cran.us.r-project.org"), dependencies=TRUE, type="both")

devtools::install_github(c("USGS-R/rloadest", "appling/unitted",
"mcdowelllab/loadflex"))
devtools::install_github(c("appling/unitted", "mcdowelllab/loadflex"))
}