prereg_show_item_content: Show the specified content for the items in a...

View source: R/prereg_show_item_content.R

prereg_show_item_contentR Documentation

Show the specified content for the items in a (pre)registration

Description

This function shows the specified content for the items in a (pre)registration, or in one or more sections.

Usage

prereg_show_item_content(x, section = NULL)

Arguments

x

The (pre)registration object (as produced by a call to prereg_initialize()).

section

The section(s) to show; pass NULL (the default) to show everything.

Value

x, invisibly

Examples

### Load an example (pre)registration specification
data("examplePrereg_1", package = "preregr");

### Show the item content for the "metadata" section
examplePrereg_1 |>
  preregr::prereg_show_item_content(
    section="metadata"
  );

preregr documentation built on May 31, 2023, 7:10 p.m.