Skip to content

Commit

Permalink
Ready for CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
willgearty committed Nov 10, 2022
1 parent adc3fa5 commit 69f503b
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 96 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.Rhistory
.RData
oldtravis.yml
revdep/checks.noindex
revdep/checks
revdep/data.sqlite
revdep/library.noindex
revdep/library
rredlist.Rproj
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Title: 'IUCN' Red List Client
Description: 'IUCN' Red List (<http://apiv3.iucnredlist.org/api/v3/docs>) client.
The 'IUCN' Red List is a global list of threatened and endangered species.
Functions cover all of the Red List 'API' routes. An 'API' key is required.
Version: 0.7.0.9000
Version: 0.7.1
Authors@R:
c(person(given = "William",
family = "Gearty",
Expand Down Expand Up @@ -35,7 +35,7 @@ Imports:
Suggests:
testthat,
vcr (>= 0.4.0)
RoxygenNote: 7.1.1
RoxygenNote: 7.2.1
X-schema.org-applicationCategory: Biodiversity
X-schema.org-keywords: IUCN, biodiversity, API, web-services, traits, habitat, species, conservation
X-schema.org-isPartOf: https://ropensci.org
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
development version
rredlist 0.7.1
===================

William Gearty is now the maintainer of rredlist
Expand Down Expand Up @@ -99,7 +99,7 @@ and `rl_history_()` (#8)
### MINOR IMPROVEMENTS

* Fixed description of what `rl_common_names` does. In addition,
clarified descriptino of what other functions do as well, whenever
clarified description of what other functions do as well, whenever
it was unclear (#12)

### BUG FIXES
Expand Down
2 changes: 1 addition & 1 deletion R/rredlist-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' @section Taxonomic Names vs. IUCN IDs:
#' From the documentation (quoting): "It is advisable wherever possible to use
#' the taxon name (species name) to make your API calls, rather than using IDs.
#' IDs are not immovable are expected to be used mainly by organisations
#' IDs are not immovable are expected to be used mainly by organizations
#' that work closely with the IUCN Red List."
#'
#' @section Authentication:
Expand Down
41 changes: 22 additions & 19 deletions codemeta.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
{
"@context": [
"https://doi.org/10.5063/schema/codemeta-2.0",
"http://schema.org"
],
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "rredlist",
"description": "'IUCN' Red List (<http://apiv3.iucnredlist.org/api/v3/docs>) client.\n The 'IUCN' Red List is a global list of threatened and endangered species.\n Functions cover all of the Red List 'API' routes. An 'API' key is required.",
"description": "'IUCN' Red List (<http://apiv3.iucnredlist.org/api/v3/docs>) client. The 'IUCN' Red List is a global list of threatened and endangered species. Functions cover all of the Red List 'API' routes. An 'API' key is required.",
"name": "rredlist: 'IUCN' Red List Client",
"relatedLink": "https://docs.ropensci.org/rredlist/",
"codeRepository": "https://github.com/ropensci/rredlist",
"relatedLink": ["https://docs.ropensci.org/rredlist", "https://docs.ropensci.org/rredlist/"],
"issueTracker": "https://github.com/ropensci/rredlist/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.7.0",
"version": "0.7.1",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.0.3 (2020-10-10)",
"runtimePlatform": "R version 4.2.2 (2022-10-31 ucrt)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"author": [
{
"@type": "Person",
"givenName": "William",
"familyName": "Gearty",
"email": "willgearty@gmail.com"
},
{
"@type": "Person",
"givenName": "Scott",
Expand All @@ -40,7 +43,6 @@
"email": "maelle.salmon@yahoo.se"
}
],
"copyrightHolder": {},
"funder": [
{
"@type": "Organization",
Expand All @@ -50,9 +52,9 @@
"maintainer": [
{
"@type": "Person",
"givenName": "Scott",
"familyName": "Chamberlain",
"email": "myrmecocystus@gmail.com"
"givenName": "William",
"familyName": "Gearty",
"email": "willgearty@gmail.com"
}
],
"softwareSuggestions": [
Expand Down Expand Up @@ -82,8 +84,8 @@
"sameAs": "https://CRAN.R-project.org/package=vcr"
}
],
"softwareRequirements": [
{
"softwareRequirements": {
"1": {
"@type": "SoftwareApplication",
"identifier": "crul",
"name": "crul",
Expand All @@ -96,7 +98,7 @@
},
"sameAs": "https://CRAN.R-project.org/package=crul"
},
{
"2": {
"@type": "SoftwareApplication",
"identifier": "jsonlite",
"name": "jsonlite",
Expand All @@ -108,13 +110,14 @@
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=jsonlite"
}
],
},
"SystemRequirements": null
},
"applicationCategory": "Biodiversity",
"isPartOf": "https://ropensci.org",
"keywords": ["IUCN", "biodiversity", "API", "web-services", "traits", "habitat", "species", "conservation", "api-wrapper", "rstats", "iucn-red-list", "iucn", "r", "r-package", "taxize"],
"fileSize": "5245.763KB",
"releaseNotes": "https://github.com/ropensci/rredlist/blob/master/NEWS.md",
"readme": "https://github.com/ropensci/rredlist/blob/master/README.md",
"fileSize": "0KB",
"contIntegration": ["https://travis-ci.org/ropensci/rredlist", "https://codecov.io/github/ropensci/rredlist?branch=master"]
"contIntegration": ["https://github.com/ropensci/rredlist/actions?query=workflow%3AR-check", "https://codecov.io/github/ropensci/rredlist?branch=master"]
}
26 changes: 16 additions & 10 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
## Test environments
## Test environments (with Github Actions)

* local OS X install, R 4.0.3
* ubuntu 16.04 (on travis-ci), R 4.0.3
* win-builder (evel and release)
* Windows 10.0.20348 (x86_64-w64-mingw32): R 4.2.2
* Mac OS X 11.7.1 (x86_64-apple-darwin17.0): R 4.2.2
* Ubuntu 20.04.5 (x86_64-pc-linux-gnu): R 4.1.3, 4.2.2, and devel (r83320)

## R CMD check results

0 errors | 0 warnings | 0 notes

## Reverse dependencies
## Downstream dependencies

* I have run R CMD check on the 1 downstream dependeny. There is one error in the reverse dependency taxize, but it's a simple check of a URL returned that has changed because the base url for the API wrapped in this package has changed. A fix is ready in the reverse dependency taxize and will be submitted soon. Summary at:
<https://github.com/ropensci/rredlist/blob/master/revdep/README.md>
Checked 1 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package:

* taxize (0.9.100)

Dependency check results:

* Found 0 new problems
* Failed to check 0 packages

---

This version makes minor improvements to documentation.
This version updates the documentation with the new maintainer.

Thanks!
Scott Chamberlain
Thanks!
William Gearty
2 changes: 1 addition & 1 deletion man/rredlist-package.Rd

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

36 changes: 16 additions & 20 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# Platform

|field |value |
|:--------|:----------------------------|
|version |R version 4.0.3 (2020-10-10) |
|os |macOS Catalina 10.15.7 |
|system |x86_64, darwin17.0 |
|ui |X11 |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |US/Pacific |
|date |2020-10-20 |
|field |value |
|:--------|:-----------------------------------------|
|version |R version 4.2.2 (2022-10-31 ucrt) |
|os |Windows 10 x64 (build 19041) |
|system |x86_64, mingw32 |
|ui |RStudio |
|language |(EN) |
|collate |English_United States.utf8 |
|ctype |English_United States.utf8 |
|tz |America/New_York |
|date |2022-11-10 |
|rstudio |2022.07.1+554 Spotted Wakerobin (desktop) |
|pandoc |NA |

# Dependencies

|package |old |new |Δ |
|:--------|:-----|:-----|:--|
|rredlist |0.6.0 |0.7.0 |* |
|package |old |new |Δ |
|:--------|:-----|:----------|:--|
|rredlist |0.7.0 |0.7.0.9000 |* |

# Revdeps

## New problems (1)

|package |version |error |warning |note |
|:----------------------------|:-------|:------|:-------|:----|
|[taxize](problems.md#taxize) |0.9.98 |__+1__ | | |

7 changes: 7 additions & 0 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## revdepcheck results

We checked 1 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

40 changes: 1 addition & 39 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -1,39 +1 @@
# taxize

<details>

* Version: 0.9.98
* Source code: https://github.com/cran/taxize
* URL: https://docs.ropensci.org/taxize/ (website), https://github.com/ropensci/taxize (devel), https://taxize.dev (user manual)
* BugReports: https://github.com/ropensci/taxize/issues
* Date/Publication: 2020-09-18 17:40:02 UTC
* Number of recursive dependencies: 100

Run `revdep_details(,"taxize")` for more info

</details>

## Newly broken

* checking tests ...
```
ERROR
Running the tests in ‘tests/test-all.R’ failed.
Last 13 lines of output:
> test_check("taxize")
taxize options
taxon_state_messages: TRUE
── 1. Failure: use_iucn produces expected URL and message (@test-key_helpers.R#4
use_iucn() not equal to "http://apiv3.iucnredlist.org/api/v3/token".
1/1 mismatches
x[1]: "https://apiv3.iucnredlist.org/api/v3/token"
y[1]: "http://apiv3.iucnredlist.org/api/v3/token"
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 74 | SKIPPED: 216 | WARNINGS: 0 | FAILED: 1 ]
1. Failure: use_iucn produces expected URL and message (@test-key_helpers.R#4)
Error: testthat unit tests failed
Execution halted
```

*Wow, no problems at all. :)*

0 comments on commit 69f503b

Please sign in to comment.