View source: R/prereg_specify.R
prereg_specify | R Documentation |
Specify the content for one or more (pre)registration items
prereg_specify(
x,
...,
append = TRUE,
validate = TRUE,
requireValidContent = TRUE,
silent = preregr::opts$get("silent")
)
x |
The (pre)registration object (as produced by a call to
|
... |
Item-content pairings. |
append |
Whether to replace ( |
validate |
Whether to validate the specified content for each item using the validation rules in the (pre)registration form. |
requireValidContent |
Whether to only store new content if it passes
validation. Note that this is ignored if |
silent |
Whether to be silent or chatty. |
x, invisibly
### Load an example (pre)registration specification
data("examplePrereg_1", package = "preregr");
### Specify some fields and show the results
examplePrereg_1 |>
preregr::prereg_specify(
tasks_and_roles = "All authors contributed equally",
nonExistent_item = "This can't be stored anywhere",
start_date = "2021-9-01"
) |>
preregr::prereg_show_item_completion(
section="metadata"
);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.