Retrieve the label of an object
label.Rdlabel() gets the attached label to an object.
Value
The label attribute (string) associated with object passed in x or
NULL if the label attribute does not exist.
Examples
label(1)
#> NULL
label(with_label(1, "my label"))
#> [1] "my label"