Skip to content

Commit

Permalink
rgbif 3.8.1 (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnwllr authored Sep 26, 2024
1 parent 495a552 commit f08491b
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/revdep-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: Rscript -e "revdepcheck::revdep_reset()" -e "revdepcheck::revdep_check(num_workers=4)"

- name: Upload revdepcheck results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: revdep/*.md
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: A programmatic interface to the Web Service methods
retrieving information on data providers, getting species occurrence
records, getting counts of occurrence records, and using the GBIF
tile map service to make rasters summarizing huge amounts of data.
Version: 3.8.0.2
Version: 3.8.1
License: MIT + file LICENSE
Authors@R: c(
person("Scott", "Chamberlain", role = "aut", comment = c(ORCID="0000-0003-1444-9135")),
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ S3method(print,occ_download_describe)
S3method(print,occ_download_get)
S3method(print,occ_download_meta)
S3method(print,occ_download_prep)
S3method(print,occ_download_sql)
S3method(print,occ_download_sql_prep)
S3method(print,occ_predicate)
S3method(print,occ_predicate_list)
export("%>%")
Expand Down
15 changes: 15 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
rgbif 3.8.1
===========

### NEW FEATURES

* New function `occ_download_sql()` for downloading occurrence data using SQL queries. (#752)

## BUG FIXES

* `occ_download_cached()` bug fixed. (#748)

### DOCUMENTATION

* New article [GBIF SQL Downloads](https://docs.ropensci.org/rgbif/articles/gbif_sql_downloads.html)

rgbif 3.8.0
===========

Expand Down
7 changes: 4 additions & 3 deletions R/occ_download_sql.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ occ_download_sql_prep <- function(q=NULL,

}

print.occ_download_sql <- function(x) {
#' @export
print.occ_download_sql <- function(x, ...) {
stopifnot(inherits(x, 'occ_download_sql'))
cat_n("<<gbif download sql>>")
cat_n(" Your download is being processed by GBIF:")
Expand All @@ -143,8 +144,8 @@ print.occ_download_sql <- function(x) {
cat_n(" ", attr(x,"citation"))
}


print.occ_download_sql_prep <- function(x) {
#' @export
print.occ_download_sql_prep <- function(x, ...) {
stopifnot(inherits(x, 'occ_download_sql_prep'))
cat_n("<<Occurrence Download SQL Prep>>")
cat_n("Format: ", x$format)
Expand Down
6 changes: 3 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci/rgbif",
"issueTracker": "https://github.com/ropensci/rgbif/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "3.8.0",
"version": "3.8.1",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -358,7 +358,7 @@
"applicationCategory": "Biodiversity",
"isPartOf": "https://ropensci.org",
"keywords": ["GBIF", "specimens", "API", "web-services", "occurrences", "species", "taxonomy", "gbif", "api", "data", "biodiversity", "rstats", "r", "spocc", "r-package", "lifewatch", "oscibio"],
"fileSize": "6425.728KB",
"fileSize": "11403.838KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down Expand Up @@ -402,7 +402,7 @@
],
"name": "rgbif: Interface to the Global Biodiversity Information Facility API",
"url": "https://CRAN.R-project.org/package=rgbif",
"description": "R package version 3.8.0"
"description": "R package version 3.8.1"
},
{
"@type": "ScholarlyArticle",
Expand Down

0 comments on commit f08491b

Please sign in to comment.