Lookup a variable name

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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.