vname: Lookup a variable name

View source: R/vname.R

vnameR Documentation

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

vname(x)

Arguments

x

[ANY]
Object.

Value

[character(1)] Variable name.


checkmate documentation built on Sept. 11, 2024, 8:40 p.m.