Learn R Programming

XR (version 0.7.2)

fixHelpTopic: Make a Help Topic an Explicit Character String

Description

A helper function to pass on a help topic (specifically for a reference-class method) to another help-style function; i.e., so the user could have supplied either a name or a general expression that evaluates to a character string.

Usage

fixHelpTopic(topic)

Arguments

topic

The expression supplied by your user. If this was a name, it will be taken literally, otherwise evaluated two levels up the call stack, which should return a character string.

References

Chambers, John M. (2016) Extending R, Chapman & Hall/CRC. ( Chapter 13, discussing this package, is included in the package: ../doc/Chapter_XR.pdf.)