vname: Lookup a variable name

Description Usage Arguments Value

Description

Tries to heuristically determine the variable name of x in the parent frame with a combination of deparse and substitute. Used for checkmate's error messages.

Usage

1
vname(x)

Arguments

x

[ANY]
Object.

Value

[character(1)] Variable name.



Search within the checkmate package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.