Lint and debug workflow

Run lint checks before conversion and export machine-readable reports.

Source linting

lint <- lint_source("lesson.qmd", strict = FALSE)
print(lint)

Strict conversion

rep <- tutorize(
  input = "lesson.qmd",
  assessment = "both",
  lint_strict = TRUE
)

JSON report for CI

write_tutorize_report(rep, "report.json", format = "json")