Skip to content

Commit

Permalink
stop testing cite_data as it takes longer than 5 seconds. Fixed links…
Browse files Browse the repository at this point in the history
… in vignette
  • Loading branch information
sedv8808 committed Feb 28, 2024
1 parent 39ea471 commit b96eb74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion R/site-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,8 @@ setMethod(f = "cite_data",
#' @importFrom purrr map
#' @importFrom dplyr bind_rows full_join select arrange filter
#' @returns `data.frame` object with citation information.
#' @examples {
#' @examples
#' \donttest{
#' ds <- get_datasets(1)
#' cite_data(ds)
#' }
Expand Down
2 changes: 1 addition & 1 deletion man/cite_data-site-method.Rd

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

4 changes: 2 additions & 2 deletions vignettes/neotoma2-package.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ alex <- get_sites(sitename = "Alexander Lake")
alex[[1]]$siteid
```

The elements within a `site` are the same as the defined columns within the Neotoma [`ndb.sites`](https://open.neotomadb.org/dbschema/tables/sites.html) table, with the exception of the `collunits` slot, which contains the collection units and associated datasets that are found within a site. You can see all the `site` slots using the `names()` function. You can select individual elements of a `site`, and you can assign values to these parameters:
The elements within a `site` are the same as the defined columns within the Neotoma [`ndb.sites`](https://open.neotomadb.org/dbschema/ndb/tables/sites.html) table, with the exception of the `collunits` slot, which contains the collection units and associated datasets that are found within a site. You can see all the `site` slots using the `names()` function. You can select individual elements of a `site`, and you can assign values to these parameters:

```{r showallNamesSite}
names(alex[[1]])
Expand Down Expand Up @@ -325,7 +325,7 @@ In this code chunk we define the bounding polygon for our sites, filter by time

## Publications

Many Neotoma records have publications associated with them. The `publication` object (and the `publications` collection) provide the opportunity to do this. The [`publication`](https://open.neotomadb.org/dbschema/tables/publications.html) table in Neotoma contains an extensive number of fields. The methods for `publications` in the `neotoma2` package provide us with tools to retrieve publication data from Neotoma, to set and manipulate publication data locally, and to retrieve publication data from external sources (e.g., using a DOI).
Many Neotoma records have publications associated with them. The `publication` object (and the `publications` collection) provide the opportunity to do this. The [`publication`](https://open.neotomadb.org/dbschema/ndb/tables/publications.html) table in Neotoma contains an extensive number of fields. The methods for `publications` in the `neotoma2` package provide us with tools to retrieve publication data from Neotoma, to set and manipulate publication data locally, and to retrieve publication data from external sources (e.g., using a DOI).

### `get_publications()` from Neotoma

Expand Down

0 comments on commit b96eb74

Please sign in to comment.