R/prereg_show_item_completion.R
    prereg_show_item_completion.RdThis function shows which items in a (pre)registration, or in one or more sections, have been completed - or, more accurately, contain at least some content that is different from the default content.
prereg_show_item_completion(x, section = NULL)The (pre)registration object (as produced by a call to
prereg_initialize()).
The section(s) to show; pass NULL (the default) to show
everything.
x, invisibly
### Load an example (pre)registration specification
data("examplePrereg_1", package = "preregr");
### Show which items were completed
examplePrereg_1 |>
  preregr::prereg_show_item_completion(
    section="metadata"
  );
#> 
#> ── Items in (pre)registration specification ────────────────────────────────────
#> 
#> ℹ Form: Inclusive General-Purpose Registration Form
#> ℹ Version: 1.1
#> 
#> ── Section: Metadata ──
#> 
#> ✔ Discipline [discipline]
#> ✔ Title [title]
#> ✔ Author(s) / contributor(s) [authors]
#> ✖ Tasks and roles [tasks_and_roles]
#> ✖ Funding [funding]
#> ✖ Conflicts of interest [cois]