Skip to contents

Convenience helper: fetches name from envir and returns a one-element robjgrader_records object ready to pass to validate(). Useful when a test function needs to validate a single known object without holding the full records from source_student_file().

Usage

grab(name, envir = .GlobalEnv)

Arguments

name

Character. Name of the object to fetch.

envir

Environment to look in. Default .GlobalEnv.

Value

A robjgrader_records object with one entry.