diff --git a/DESCRIPTION b/DESCRIPTION index 6de30ea..4b72125 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: neotoma2 Title: Working with the Neotoma Paleoecology Database -Date: 2024-07-23 -Version: 1.0.4 +Date: 2024-08-14 +Version: 1.0.5 Authors@R: c(person(given = "Dominguez Vidana", family = "Socorro", diff --git a/NEWS.md b/NEWS.md index ac17c57..c2f5d12 100644 --- a/NEWS.md +++ b/NEWS.md @@ -25,4 +25,11 @@ Updated maintainer. Fixed errors in the API calls. -Updated README. \ No newline at end of file +Updated README. + +# neotoma2 1.0.5 + +## Remarks for Upgrade 1.0.5 + +Fixed errors in the API calls. Added `tryCatch` statements in vignette +Changed some minor API calls to `eval=False` diff --git a/cran-comments.md b/cran-comments.md index 0ae2b5c..eda40ea 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -195,4 +195,10 @@ Old maintainer(s): Fixed errors in the API calls as per CRAN policies. -Fixed filter function for collection units and datasets. \ No newline at end of file +Fixed filter function for collection units and datasets. + +----- + +## Remarks for Upgrade 1.0.5 + +Fixed errors in the API calls in vignette adding tryCatch statemetns so that the vignette can be rebuilt regardless of API status. \ No newline at end of file diff --git a/vignettes/neotoma2-package.Rmd b/vignettes/neotoma2-package.Rmd index 65deb5b..c3b4e1d 100644 --- a/vignettes/neotoma2-package.Rmd +++ b/vignettes/neotoma2-package.Rmd @@ -391,7 +391,7 @@ We can also use search elements to search for publications. The `get_publicatio * `limit` * `offset` -```{r fulltestPubSearch, eval=FALSE} +```{r fulltestPubSearch} michPubs <- get_publications(search = "Michigan", limit = 2) ``` @@ -399,7 +399,7 @@ This results in a set of `r length(michPubs)` publications from Neotoma, equal t Text matching in Neotoma is approximate, meaning it is a measure of the overall similarity between the search string and the set of article titles. This means that using a nonsense string may still return results results: -```{r nonsenseSearch, eval=FALSE} +```{r nonsenseSearch} noise <- get_publications(search = "Canada Banada Nanada", limit = 5) ```