makecnote {qreport}R Documentation

makecnote

Description

Print an Object in a Collapsible Note

Usage

makecnote(
  x,
  label = paste0("`", deparse(substitute(x)), "`"),
  wide = FALSE,
  type = c("print", "run", "cat"),
  ...
)

Arguments

x

an object having a suitable print method

label

a character string providing a title for the tab. Default is the name of the argument passed to makecnote.

wide

set to TRUE to expand the width of the text body

type

default is to print; can also be run, cat

...

an optional list of arguments to be passed to print

Details

Prints an object in a Quarto collapsible note.

Value

nothing is returned, used for rendering markup

Author(s)

Frank Harrell

Examples

makecnote('This is some text', label='mylab', wide=TRUE)

[Package qreport version 1.0-0 Index]