fun_try: Safely try out a function defined in the submission

View source: R/utils.R

fun_tryR Documentation

Safely try out a function defined in the submission

Description

Safely try out a function defined in the submission

Usage

fun_try(fnname, ..., add = TRUE)

Arguments

fnname

name of the function

...

arguments to fnname

add

whether to add feedback

Value

list with two values: is_error (logical) and result


dalejbarr/assessr documentation built on Jan. 25, 2024, 10:47 p.m.