Linting helps instructors detect common authoring problems before conversion. This is useful in teaching teams where several people maintain source lessons.
library(tutorizeR)
example_dir <- system.file("examples", "example_course_module", package = "tutorizeR")
source_file <- file.path(example_dir, "lesson-source.qmd")
question_bank <- load_question_bank(file.path(example_dir, "question-bank"))
lint <- lint_source(
input = source_file,
question_bank = question_bank,
strict = FALSE
)
print(lint)Reports are useful in continuous integration and course release workflows because they record the generated output path, number of exercises, MCQs, warnings, and lint summary.
Linting can detect structural issues, but it cannot judge whether a lesson is pedagogically effective. Generated reports should support instructor review, not replace it.