Skip to contents

Tools for inspecting roxygen2::roxy_tag()s. This can be helpful for exploring the intermediate tag objects. For example, you can use this function to generate a tag and explore the named values in $val.

Usage

demo_tag(str)

Arguments

str

A 'roxygen2' tag string.

Examples

demo_tag("@param var abc")
#> [<text>:  1] @param 'var abc' {parsed}