validate_lesson_dir: validate_lesson_dir

View source: R/validate_lesson_dir.R

validate_lesson_dirR Documentation

validate_lesson_dir

Description

Internal function for checking if a directory contains the expected structure of a lesson

Usage

validate_lesson_dir(lesson_dir)

Arguments

lesson_dir

path (or a vector of paths) to a potential lesson directory; Make sure path starts with leading "/" If it's not relative to the current working dir.

Value

logical: is this a good lesson directory path or not? Will return a vector as long as lesson_dir input.


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.