grade_script: Grade an R script against a series of test files

View source: R/grade_script.R

grade_scriptR Documentation

Grade an R script against a series of test files

Description

Execute a script, parse check outputs, and run additional tests specified by the glob pattern tests_glob on the test environment.

Usage

grade_script(script_path, tests_glob, ignore_errors)

Arguments

script_path

The path to the script

tests_glob

The pattern to search for extra tests

ignore_errors

Whether to ignore errors thrown while executing the script

Value

The GradingResults object after executing tests referenced in the script and those specified by tests_glob


ucbds-infra/ottr documentation built on Feb. 24, 2024, 2:31 a.m.