Skip to content

Commit

Permalink
Merge pull request #55 from sebpardo/master
Browse files Browse the repository at this point in the history
Minor updates prior to v0.4.0 CRAN release
  • Loading branch information
sebpardo authored Apr 25, 2017
2 parents 6248ce6 + edfc588 commit c435eaf
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 60 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ README.Rmd
vignettes/figure/
^cran-comments.md$
^cran-comments\.md$
^rebird-tests.R$
^revdep$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
krlocal.R
/.Rapp.history
.DS_Store
rebird-tests.R
revdep/
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rebird
Version: 0.3.4
Date: 2016-03-23
Version: 0.4.0
Date: 2016-04-25
Title: R Client for the eBird Database of Bird Observations
Description: A programmatic client for the eBird database, including functions
for searching for bird observations by geographic location (latitude,
Expand All @@ -27,4 +27,4 @@ Suggests:
knitr,
testthat,
covr
RoxygenNote: 5.0.1
RoxygenNote: 6.0.1
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
rebird 0.4.0
===================

### MINOR IMPROVEMENTS AND BUG FIXES

* Fix for `ebirdfreq` which stopped working due to changes on the eBird website (#52).
* Replaced deprecated `dplyr::rbind_all` function with `dplyr::bind_rows` (#43).

rebird 0.3.0
===================

Expand Down
11 changes: 1 addition & 10 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
As per Uwe's previous comment, now using CRAN master URL (<https://cran.r-project.org/package=rebird/>) to avoid canonical URL note. The NOTE regarding this issue is not coming up now when testing in win-builder devel version.

## Test environments
* local machine running Linux Ubuntu 14.04.4, R 3.2.4
* local machine running Linux Ubuntu 16.04 LTS, R 3.4.0
* win-builder (devel and release)
* Windows Server 2012 R2 x64, R 3.2.4 on Appveyor
* Ubuntu 12.04.5 LTS, R 3.2.4 or Travis-CI
Expand All @@ -12,13 +10,6 @@ There were no ERRORs or WARNINGs.
There was 1 NOTE:

* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Sebastian Pardo <sebpardo@gmail.com>'

License components with restrictions and base license permitting such:
MIT + file LICENSE
File 'LICENSE':
YEAR: 2016
COPYRIGHT HOLDER: Rafael Maia

Possibly mis-spelled words in DESCRIPTION:
eBird (4:25, 5:44, 7:17)
Expand Down
12 changes: 6 additions & 6 deletions man/ebirdfreq.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/ebirdgeo.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/ebirdhotspot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/ebirdloc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/ebirdnotable.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/ebirdregion.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/ebirdregioncheck.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/ebirdtaxonomy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/getlatlng.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions man/nearestobs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions man/rebird-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions tests/testthat/test-ebirdfreq.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ test_that("ebirdfreq fails correctly", {
expect_error(ebirdfreq("hotspots", "foo123"), "Invalid hotspot code")
expect_error(ebirdfreq("country"), "Not a valid location type")
expect_error(ebirdfreq("counties", "CA-BC-ZZ"), "Specified location doesn't exist")
expect_error(ebirdfreq("hotspots", "L196159", 1901, 1902, long = FALSE), regexp = "^Internal Server Error \\(HTTP 500\\)\\.$")
# for some reason the following fails:
# expect_error(ebirdfreq("hotspots", "L196159", 1900, 1902, long = FALSE), "Internal Server Error (HTTP 500).")
expect_error(ebirdfreq("hotspots", "L196159", 1900, 1902, long = FALSE), "Internal Server Error \\(HTTP 500\\).")
expect_error(ebirdfreq("foo", "CA-BC-ZZ"), "Not a valid location type")
})

0 comments on commit c435eaf

Please sign in to comment.