original_test_lines: Get test code from original exercise file

Description Usage Arguments Value

View source: R/exercise.R

Description

Fetches the lines containing test code from the original, unaltered version of the current exercise file. Current exercise file is the one listed in the exercise listing in 'proj_path'.

Usage

1
original_test_lines(proj_path = getwd())

Arguments

proj_path

path to the project folder, optional

Value

a character vector containing the test code for the current exercise


ericwburden/trainr documentation built on Jan. 28, 2022, 2:21 p.m.