form_show: Show a (pre)registration form

View source: R/form_show.R

form_showR Documentation

Show a (pre)registration form

Description

This function shows (parts of) a (pre)registration form.

Usage

form_show(x, section = NULL)

Arguments

x

The (pre)registration form (as produced by a call to form_create()).

section

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

Value

x, invisibly

Examples

### An empty form
preregr::form_create(
  "Example form",
  version = "1"
) |>
  preregr::form_show();

### A complete form
preregr::prereg_initialize("inclSysRev_v0_92") |>
  preregr::form_show();

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