mget_safe: a safe version of mget, this allow input argument to be...

View source: R/within_answerEnvironment.R

mget_safeR Documentation

a safe version of mget, this allow input argument to be either a character of object name or a character of obtaining value, such as "a[['number']][[1]]"

Description

a safe version of mget, this allow input argument to be either a character of object name or a character of obtaining value, such as "a[['number']][[1]]"

Usage

mget_safe(text, envir)

Arguments

text

A character either represents an object name or how to obtain a value

envir

An environment where to look for value

Examples

none

tpemartin/rmdgrader documentation built on Nov. 22, 2022, 6:39 p.m.