Skip to content

Commit

Permalink
change to use codecov from coveralls, enforce httr >= v1
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Aug 5, 2015
1 parent 27fc9e0 commit 89e9923
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
@@ -1,13 +1,16 @@
language: r
sudo: required

r_github_packages:
- jimhester/robustr
- jimhester/covr
- jeroenooms/curl

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

notifications:
email:
on_success: change
on_failure: change
slack:
secure: YOxbPBFVAMbDbNc/6tDn5749/qOfJkM+hfTraG9LGstCZC2C4I7rxb3BRkUHphIbFuQiH8BW/L+BKPXkLBL8Hrz4uMMyD3RtMX1A9fZ9WizkHMT4GLCHE011TITiYIeJvv41R7RBuy6rn3RLpID5KeMTTDphIz1TOZdl1zsxqds=
2 changes: 1 addition & 1 deletion DESCRIPTION
Expand Up @@ -29,7 +29,7 @@ Imports:
reshape2,
stringr,
plyr,
httr (>= 0.6.1),
httr (>= 1.0.0),
jsonlite,
foreach,
ape,
Expand Down
6 changes: 5 additions & 1 deletion README.Rmd
Expand Up @@ -13,7 +13,7 @@ knitr::opts_chunk$set(

[![Build Status](https://api.travis-ci.org/ropensci/taxize.png?branch=master)](https://travis-ci.org/ropensci/taxize)
[![Build status](https://ci.appveyor.com/api/projects/status/6mgc02mkd8j4sq3g/branch/master)](https://ci.appveyor.com/project/sckott/taxize-175/branch/master)
[![Coverage Status](https://coveralls.io/repos/ropensci/taxize/badge.svg)](https://coveralls.io/r/ropensci/taxize)
[![codecov.io](https://codecov.io/github/ropensci/taxize/coverage.svg?branch=master)](https://codecov.io/github/ropensci/taxize?branch=master)
[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/taxize)](https://github.com/metacran/cranlogs.app)
[![cran version](http://www.r-pkg.org/badges/version/taxize)](http://cran.rstudio.com/web/packages/taxize)

Expand Down Expand Up @@ -305,6 +305,10 @@ out <- as.uid(c(315567, 3339, 9696))
+ [Ignasi Bartomeus](https://github.com/ibartomeus)
+ [John Baumgartner](https://github.com/johnbaums)

## Road map

Check out our [milestones](https://github.com/ropensci/taxize/milestones) to see what we plan to get done for each version.

## Meta

* Please [report any issues or bugs](https://github.com/ropensci/taxize/issues).
Expand Down
18 changes: 11 additions & 7 deletions README.md
Expand Up @@ -6,7 +6,7 @@ taxize

[![Build Status](https://api.travis-ci.org/ropensci/taxize.png?branch=master)](https://travis-ci.org/ropensci/taxize)
[![Build status](https://ci.appveyor.com/api/projects/status/6mgc02mkd8j4sq3g/branch/master)](https://ci.appveyor.com/project/sckott/taxize-175/branch/master)
[![Coverage Status](https://coveralls.io/repos/ropensci/taxize/badge.svg)](https://coveralls.io/r/ropensci/taxize)
[![codecov.io](https://codecov.io/github/ropensci/taxize/coverage.svg?branch=master)](https://codecov.io/github/ropensci/taxize?branch=master)
[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/taxize)](https://github.com/metacran/cranlogs.app)
[![cran version](http://www.r-pkg.org/badges/version/taxize)](http://cran.rstudio.com/web/packages/taxize)

Expand Down Expand Up @@ -404,8 +404,8 @@ get_ids_(c("Chironomus riparius", "Pinus contorta"), db = 'nbn', rows=1:3)
#> $nbn$`Chironomus riparius`
#> ptaxonVersionKey searchMatchTitle rank nameStatus
#> 1 NBNSYS0000027573 Chironomus riparius Species Recommended
#> 2 NHMSYS0001718042 Elaphrus riparius Species Recommended
#> 3 NBNSYS0000023345 Paederus riparius Species Recommended
#> 2 NBNSYS0000023345 Paederus riparius Species Recommended
#> 3 NHMSYS0001718042 Elaphrus riparius Species Recommended
#>
#> $nbn$`Pinus contorta`
#> ptaxonVersionKey searchMatchTitle rank nameStatus
Expand Down Expand Up @@ -434,10 +434,10 @@ sci2comm('Helianthus annuus', db = 'itis')
```r
comm2sci("black bear", db = "itis")
#> $`black bear`
#> [1] "Ursus thibetanus" "Ursus thibetanus"
#> [3] "Chiropotes satanas" "Ursus americanus luteolus"
#> [5] "Ursus americanus" "Ursus americanus"
#> [7] "Ursus americanus americanus"
#> [1] "Ursus americanus luteolus" "Ursus americanus americanus"
#> [3] "Ursus americanus" "Ursus americanus"
#> [5] "Chiropotes satanas" "Ursus thibetanus"
#> [7] "Ursus thibetanus"
```

### Coerce codes to taxonomic id classes
Expand Down Expand Up @@ -494,6 +494,10 @@ out <- as.uid(c(315567, 3339, 9696))
+ [Ignasi Bartomeus](https://github.com/ibartomeus)
+ [John Baumgartner](https://github.com/johnbaums)

## Road map

Check out our [milestones](https://github.com/ropensci/taxize/milestones) to see what we plan to get done for each version.

## Meta

* Please [report any issues or bugs](https://github.com/ropensci/taxize/issues).
Expand Down

0 comments on commit 89e9923

Please sign in to comment.