dynget: modification of base::dynGet()

dyngetR Documentation

modification of base::dynGet()

Description

slight modification of base::dynGet() minframe set to 0 to also look in global environment and it's robust to using within functions also takes the variable name without quotes as default but can supply a character, and set px to FALSE

Usage

dynget(
  x,
  px = TRUE,
  ifnotfound = stop(gettextf("%s not found", sQuote(x)), domain = NA),
  minframe = 0L,
  inherits = FALSE
)

kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.