exercise_path_to_entry: Makes an entry for the exercise listing

Description Usage Arguments Value

View source: R/listing.R

Description

Given a 'split_path' and the 'full_path' for an exercise, return a single row dataframe containing an exercise listing entry for that exercise.

Usage

1
exercise_path_to_entry(split_path, full_path)

Arguments

split_path

a length-3 character vector containing the chapter name, lesson name, and exercise name for an exercise, in that order

full_path

the full path to an exercise file

Value

a one-row dataframe containing 'chapter', 'lesson', 'exercise', 'path', and 'completed'


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