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"
,"int"
,"lgl"
,"num"
or"pg_connection"
- length
Length of the R object to be documented.
- 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()