-
Notifications
You must be signed in to change notification settings - Fork 13
Cran/description #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Cran/description #54
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,22 +1,24 @@ | ||||||||||||||
| Package: neotoma2 | ||||||||||||||
| Title: Working with the Neotoma Paleoecology Database | ||||||||||||||
| Date: 2025-12-12 | ||||||||||||||
| Version: 1.0.11 | ||||||||||||||
| Date: 2026-04-23 | ||||||||||||||
| Version: 1.0.12 | ||||||||||||||
| Authors@R: | ||||||||||||||
| c(person(given = "Dominguez Vidana", | ||||||||||||||
| family = "Socorro", | ||||||||||||||
| role = c("aut", "cre"), | ||||||||||||||
| email = "dominguezvid@wisc.edu", | ||||||||||||||
| comment = structure("0000-0002-7926-4935", .Names = "ORCID")), | ||||||||||||||
| comment = c(ORCID="0000-0002-7926-4935")), | ||||||||||||||
| person(given = "Simon", | ||||||||||||||
| family = "Goring", | ||||||||||||||
| role = c("aut"), | ||||||||||||||
| email = "goring@wisc.edu", | ||||||||||||||
| comment = structure("0000-0002-2700-4605", .Names = "ORCID"))) | ||||||||||||||
| comment = c(ORCID="0000-0002-2700-4605"))) | ||||||||||||||
| URL: https://github.com/NeotomaDB/neotoma2 | ||||||||||||||
| BugReports: https://github.com/NeotomaDB/neotoma2/issues | ||||||||||||||
| Description: Access and manipulation of data using the Neotoma Paleoecology Database. | ||||||||||||||
| <https://api.neotomadb.org/api-docs/>. | ||||||||||||||
| Examples in functions that require API access are not executed during CRAN checks. | ||||||||||||||
| Vignettes do not execute as to avoid API calls during CRAN checks. | ||||||||||||||
|
Comment on lines
18
to
+21
|
||||||||||||||
| Description: Access and manipulation of data using the Neotoma Paleoecology Database. | |
| <https://api.neotomadb.org/api-docs/>. | |
| Examples in functions that require API access are not executed during CRAN checks. | |
| Vignettes do not execute as to avoid API calls during CRAN checks. | |
| Description: Access and manipulate data from the Neotoma Paleoecology | |
| Database. See <https://api.neotomadb.org/api-docs/>. |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -48,13 +48,9 @@ setMethod(f = "show", | |||||||
| #' @description Obtain one of the elements within a `sites`, | ||||||||
| #' `collectionunits`, `datasets`, etc... Neotoma objects. | ||||||||
| #' @returns sliced `site` object | ||||||||
| #' @examples \donttest{ | ||||||||
| #' tryCatch({ | ||||||||
| #' some_site <- get_sites(sitename = "Site%", limit=3) | ||||||||
| #' some_site[[2]] | ||||||||
| #' }, error = function(e) { | ||||||||
| #' message("Neotoma server not responding. Try again later.") | ||||||||
| #' }) | ||||||||
| #' @examples \dontrun{ | ||||||||
| #' some_site <- get_sites(sitename = "Site%", limit=3) | ||||||||
| #' some_site[[2]] | ||||||||
| #' } | ||||||||
| #' @aliases [[,sites,numeric-method | ||||||||
| #' @exportMethod [[ | ||||||||
|
|
@@ -407,13 +403,10 @@ setMethod(f = "summary", | |||||||
| #' @importFrom dplyr bind_rows full_join select arrange filter | ||||||||
| #' @importFrom dplyr mutate group_by row_number | ||||||||
| #' @returns `data.frame` object with DOIs information. | ||||||||
| #' @examples { | ||||||||
| #' tryCatch({ | ||||||||
| #' @examples \dontrun{ | ||||||||
| #' # Get datasets metadata from API and retrieve DOIs | ||||||||
| #' ds <- get_datasets(1) | ||||||||
| #' doi(ds) | ||||||||
| #' }, error = function(e) { | ||||||||
| #' message("Neotoma server not responding. Try again later.") | ||||||||
| #' }) | ||||||||
| #' } | ||||||||
| #' @aliases doi,sites-method | ||||||||
| #' @exportMethod doi | ||||||||
|
|
@@ -460,13 +453,9 @@ setMethod(f = "doi", | |||||||
| #' @importFrom purrr map | ||||||||
| #' @importFrom dplyr bind_rows full_join select arrange filter | ||||||||
| #' @returns `data.frame` object with citation information. | ||||||||
| #' @examples { | ||||||||
| #' tryCatch({ | ||||||||
| #' @examples \dontrun{ | ||||||||
| #' # Get datasets metadata from API | ||||||||
| #' ds <- get_datasets(1) | ||||||||
|
||||||||
| #' ds <- get_datasets(1) | |
| #' ds <- get_datasets(1) | |
| #' cite_data(ds) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In
Authors@R, the first author’sgiven/familynames appear swapped (given = "Dominguez Vidana", family = "Socorro"). Other project metadata (e.g., CITATION.cff) listsgiven-names: Socorroandfamily-names: Dominguez Vidana, so DESCRIPTION likely should match to ensure correct author display on CRAN.