Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vname

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

Fast and Versatile Argument Checks

v2.0.0
BSD_3_clause + file LICENSE
Authors
Michel Lang [cre, aut] (<https://orcid.org/0000-0001-9754-0393>), Bernd Bischl [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.