Returns a predefined R object type hint intended to be used to document a function parameter's type.
Arguments
- id
Type identifier. One of
"chr","date","df","fct","int","lgl","list","mat","num","pg_conn"or"raw"- length
Length of the R object to be documented. Omitted if
NULL.- add_cr
Whether or not to suffix the returned string with an Rd line break (
\cr).
Value
A glue character scalar.
See also
roxygen2 label functions
data_roxy_lbls,
data_types,
description_lbl(),
param_lbl(),
return_lbl(),
roxy_lbl(),
roxy_lbls(),
title_lbl()