Skip to content

Commit

Permalink
rm hardcoded vig fig that broke old pandoc on CRAN machines
Browse files Browse the repository at this point in the history
  • Loading branch information
slager committed Feb 15, 2024
1 parent 4719430 commit c44401b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 20 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# rvertnet (development version)

* remove hardcoded figure that caused failed vignette build on 2 CRAN check runners with old pandoc versions

# rvertnet 0.8.3


Expand Down
Binary file removed vignettes/figure/vertmap-1.png
Binary file not shown.
16 changes: 3 additions & 13 deletions vignettes/rvertnet.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ All major functions (`searchbyterm()`, `spatialsearch()`, `vertsearch()`) give b
```r
res$meta
#> $request_date
#> [1] "2024-02-12T00:06:06.362106"
#> [1] "2024-02-15T03:20:26.162111"
#>
#> $response_records
#> [1] 10
Expand All @@ -58,13 +58,13 @@ res$meta
#> [1] "class:Aves"
#>
#> $request_origin
#> [1] "47.606139,-122.332848"
#> [1] "47.252877,-122.444291"
#>
#> $limit
#> [1] 10
#>
#> $last_cursor
#> [1] "False:CskFCtIDCqQD9wAAABn_____jIGJmo2LkZqL0o-QjYuek96WkZuah9LNz87M0s_H0s_H_wAA_3RtoKCZi4ygoP8AAP9dno-PmpGYlpGa_wAA_3N0bZaRm5qH_wAA_12biJz_AAD_c3Rtm5CcoJab_wAA_12ektCQjZGWi5eQk5CYhtDPz87GmcjGztLGzcbJ0svPzprSxsfGy9Kdycqcz53NnMfGnpv_AAD_c3-ektCQjZGWi5eQk5CYhtDPz87GmcjGztLGzcbJ0svPzprSxsfGy9Kdycqcz53NnMfGnpv_AAD__wD-__6MgYmajYuRmovSj5CNi56T3paRm5qH0s3PzszSz8fSz8f_AHRtoKCZi4ygoP8AXZ6Pj5qRmJaRmv8Ac3RtlpGbmof_AF2biJz_AHN0bZuQnKCWm_8AXZ6S0JCNkZaLl5CTkJiG0M_PzsaZ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Gxk5AAAAAOb___9IClAAWgsJJ5Q__S_keXEQA2D6k__lBRINRG9jdW1lbnRJbmRleBrAAShBTkQgKElTICJjdXN0b21lcl9uYW1lIiAiYXBwZW5naW5lIikgKElTICJncm91cF9uYW1lIiAic352ZXJ0bmV0LXBvcnRhbCIpIChJUyAibmFtZXNwYWNlIiAiaW5kZXgtMjAxMy0wOC0wOCIpIChJUyAiaW5kZXhfbmFtZSIgImR3YyIpIChPUiAoUVQgIkF2ZXMiICJydGV4dF9jbGFzcyIpIChJUyAicmF0b21fY2xhc3MiICJhdmVzIikpKToZCgwoTiBvcmRlcl9pZCkQARkAAAAAAADw_0oFCABA6Ac"
#>
#> $query_version
#> [1] "search.py 2016-08-15T16:43+02:00"
Expand Down Expand Up @@ -294,16 +294,6 @@ res$data
#> # continent <chr>, day <chr>, kingdom <chr>, georeferenceddate <chr>, …
```

Pass output of `vertsearch()` to a map


```r
out <- vertsearch(tax = "(mustela nivalis OR mustela erminea)")
vertmap(out)
```

![](figure/vertmap-1.png)

## Lots of data

For `searchbyterm()`, `spatialsearch()`, and `vertsearch()`, you can request more than 1000 records. VertNet limits each request to 1000 records, but internally in this package, if you request more than 1000 records, we'll continue to send requests to get all the records you want. See the [VertNet docs](https://github.com/VertNet/webapp/wiki/The-API-search-function#retrieving-large-result-sets) for more information on this.
Expand Down
7 changes: 0 additions & 7 deletions vignettes/rvertnet.Rmd.orig
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,6 @@ res <- vertsearch("(kansas state OR KSU)", limit = 200)
res$data
```

Pass output of `vertsearch()` to a map

```{r, vertmap, fig.width=8, fig.height=4, fig.cap = ""}
out <- vertsearch(tax = "(mustela nivalis OR mustela erminea)")
vertmap(out)
```

## Lots of data

For `searchbyterm()`, `spatialsearch()`, and `vertsearch()`, you can request more than 1000 records. VertNet limits each request to 1000 records, but internally in this package, if you request more than 1000 records, we'll continue to send requests to get all the records you want. See the [VertNet docs](https://github.com/VertNet/webapp/wiki/The-API-search-function#retrieving-large-result-sets) for more information on this.
Expand Down

0 comments on commit c44401b

Please sign in to comment.