diff --git a/.travis.yml b/.travis.yml index ef6d1ac..2a8cd7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ -language: c -script: "./travis-tool.sh run_tests" -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 install_deps" +language: r + +r_github_packages: + - jimhester/covr + +after_success: + - Rscript -e 'library(covr); coveralls()' + notifications: slack: secure: RKJIIMB1O1DD8VCqtR5Xt+RDi1GNum+UXHpYhNvB9uQrEzOiN9lhWoRjR4rVNshZX9IqwMgtwmtjajsx+1ZANRlZtuvK+6BFX05/kCRL1BNmTz/3mh4lI3YfOy6PHKhDaPAYrL5EUVeU4tgOwq4MG5oBcF3aYQsJ/NzYjs5prCs= diff --git a/README.Rmd b/README.Rmd index 92f6c07..6dd1b10 100644 --- a/README.Rmd +++ b/README.Rmd @@ -3,6 +3,7 @@ reBird Linux: [![Build Status](https://api.travis-ci.org/ropensci/rebird.png)](https://travis-ci.org/ropensci/rebird) Windows: [![Build status](https://ci.appveyor.com/api/projects/status/9jee0co6w09faiop)](https://ci.appveyor.com/project/karthik/rebird) +[![Coverage Status](https://coveralls.io/repos/ropensci/rebird/badge.svg)](https://coveralls.io/r/ropensci/rebird) `reBird` is a package to interface with the eBird webservices. diff --git a/README.md b/README.md index cbec394..2b6fc84 100755 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ reBird Linux: [![Build Status](https://api.travis-ci.org/ropensci/rebird.png)](https://travis-ci.org/ropensci/rebird) Windows: [![Build status](https://ci.appveyor.com/api/projects/status/9jee0co6w09faiop)](https://ci.appveyor.com/project/karthik/rebird) +[![Coverage Status](https://coveralls.io/repos/ropensci/rebird/badge.svg)](https://coveralls.io/r/ropensci/rebird) `reBird` is a package to interface with the eBird webservices. @@ -47,20 +48,20 @@ ebirdgeo(species = 'spinus tristis', lat = 42, lng = -76) ``` ``` -## Source: local data frame [11 x 11] +## Source: local data frame [27 x 11] ## ## comName howMany lat lng locID ## 1 American Goldfinch 1 42.08553 -76.03871 L2291049 -## 2 American Goldfinch 2 41.97517 -75.91675 L1476807 -## 3 American Goldfinch NA 42.12503 -75.98304 L166647 -## 4 American Goldfinch 1 42.17818 -75.88152 L505437 -## 5 American Goldfinch NA 42.08474 -76.08453 L270868 -## 6 American Goldfinch NA 42.16029 -75.98355 L487584 -## 7 American Goldfinch 1 42.12617 -75.90142 L282327 -## 8 American Goldfinch 2 41.94580 -75.90261 L717700 -## 9 American Goldfinch 1 42.00900 -76.30417 L1191707 -## 10 American Goldfinch 1 42.10770 -76.18350 L2347084 -## 11 American Goldfinch NA 42.12624 -75.99054 L1060822 +## 2 American Goldfinch 1 42.14559 -76.07031 L932555 +## 3 American Goldfinch 10 42.08916 -75.90463 L197301 +## 4 American Goldfinch NA 42.04879 -75.93579 L1544184 +## 5 American Goldfinch 5 42.08430 -75.95495 L1744580 +## 6 American Goldfinch 1 42.11247 -76.00171 L274662 +## 7 American Goldfinch 4 41.76206 -75.90543 L1793977 +## 8 American Goldfinch 12 41.81636 -75.91297 L3357555 +## 9 American Goldfinch 2 42.00900 -76.30417 L1191707 +## 10 American Goldfinch 6 42.10002 -76.25698 L3390942 +## .. ... ... ... ... ... ## Variables not shown: locName (chr), locationPrivate (lgl), obsDt (chr), ## obsReviewed (lgl), obsValid (lgl), sciName (chr) ``` @@ -75,20 +76,28 @@ ebirdregion(region = 'US', species = 'Setophaga caerulescens') ``` ``` -## Source: local data frame [329 x 11] +## Source: local data frame [19 x 11] ## -## comName howMany lat lng locID -## 1 Black-throated Blue Warbler 1 26.11568 -80.23916 L614607 -## 2 Black-throated Blue Warbler 2 27.85683 -80.44876 L127386 -## 3 Black-throated Blue Warbler 4 25.69530 -80.37340 L458792 -## 4 Black-throated Blue Warbler 1 25.73408 -80.31086 L200830 -## 5 Black-throated Blue Warbler 1 25.10079 -80.43446 L3141907 -## 6 Black-throated Blue Warbler 2 26.15177 -80.14181 L1161428 -## 7 Black-throated Blue Warbler 1 33.86518 -84.38024 L914689 -## 8 Black-throated Blue Warbler 1 40.66389 -73.96861 L109516 -## 9 Black-throated Blue Warbler 1 25.32295 -80.83315 L123123 -## 10 Black-throated Blue Warbler 2 26.27687 -80.21406 L1306908 -## .. ... ... ... ... ... +## comName howMany lat lng locID +## 1 Black-throated Blue Warbler 1 24.81497 -80.82018 L123591 +## 2 Black-throated Blue Warbler 1 26.42877 -80.15696 L1139050 +## 3 Black-throated Blue Warbler 1 25.38658 -80.62074 L3444787 +## 4 Black-throated Blue Warbler 2 25.68065 -80.27264 L127425 +## 5 Black-throated Blue Warbler 1 25.73408 -80.31086 L200830 +## 6 Black-throated Blue Warbler 2 26.38290 -80.06920 L127416 +## 7 Black-throated Blue Warbler 2 26.03731 -80.17166 L578423 +## 8 Black-throated Blue Warbler 2 24.63433 -81.36030 L582112 +## 9 Black-throated Blue Warbler 2 25.87870 -80.18590 L2753423 +## 10 Black-throated Blue Warbler 1 26.14140 -80.10480 L127418 +## 11 Black-throated Blue Warbler NA 26.36755 -80.07529 L2043372 +## 12 Black-throated Blue Warbler 1 25.61277 -80.39846 L1282387 +## 13 Black-throated Blue Warbler 1 26.27687 -80.21406 L1306908 +## 14 Black-throated Blue Warbler 1 37.21659 -121.98808 L2734561 +## 15 Black-throated Blue Warbler 1 32.58926 -111.46634 L271327 +## 16 Black-throated Blue Warbler 1 25.18770 -80.87418 L127437 +## 17 Black-throated Blue Warbler 1 37.22013 -121.98232 L3308983 +## 18 Black-throated Blue Warbler 1 31.87356 -109.18475 L3395838 +## 19 Black-throated Blue Warbler 1 25.71961 -80.27697 L682100 ## Variables not shown: locName (chr), locationPrivate (lgl), obsDt (chr), ## obsReviewed (lgl), obsValid (lgl), sciName (chr) ``` @@ -104,13 +113,7 @@ ebirdhotspot(locID = c('L99381','L99382'), species = 'larus delawarensis') ``` ``` -## Source: local data frame [2 x 11] -## -## comName howMany lat lng locID locName -## 1 Ring-billed Gull 30 42.46133 -76.50593 L99381 Stewart Park -## 2 Ring-billed Gull 45 42.46182 -76.52054 L99382 Hog Hole -## Variables not shown: locationPrivate (lgl), obsDt (chr), obsReviewed -## (lgl), obsValid (lgl), sciName (chr) +## Source: local data frame [0 x 0] ```