View source: R/prereg_next_item.R
prereg_next_item | R Documentation |
This function shows the next item (or items) in a (pre)registration for which to specify content (searching through all sections or through a selection of sections).
prereg_next_item(x, nrOfItems = 1, section = NULL)
x |
The (pre)registration object (as produced by a call to
|
nrOfItems |
The number of items to complete to show. |
section |
The section(s) to search; pass |
x, invisibly
### Load an example (pre)registration specification
data("examplePrereg_1", package = "preregr");
### Check next item
examplePrereg_1 |>
preregr::prereg_next_item();
### Specify content for this item
examplePrereg_1 <-
preregr::prereg_specify(
examplePrereg_1,
funding = paste0(
"No funding. There's never any ",
"funding for this kind of stuff."
)
);
### Get the next three items
preregr::prereg_next_item(
examplePrereg_1,
nrOfItems = 3
);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.