## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")

## ----eval=FALSE---------------------------------------------------------------
# library(tutorizeR)
# 
# assignment_dir <- file.path(tempdir(), "assignment-week03")
# output_dir <- file.path(assignment_dir, "generated")
# source_file <- file.path(assignment_dir, "lesson-source.qmd")
# 
# report <- tutorize(
#   input = source_file,
#   output_dir = output_dir,
#   format = "learnr",
#   assessment = "both",
#   seed = 20260531,
#   overwrite = TRUE,
#   lint_strict = TRUE
# )
# 
# write_tutorize_report(
#   report = report,
#   file = file.path(output_dir, "conversion-report.json"),
#   format = "json"
# )

## ----eval=FALSE---------------------------------------------------------------
# library(tutorizeR)
# 
# assignment_dir <- file.path(tempdir(), "assignment-week03")
# output_dir <- file.path(assignment_dir, "generated")
# 
# manifest <- export_lms_manifest(
#   input = file.path(assignment_dir, "lesson-source.qmd"),
#   output_file = file.path(output_dir, "lms-manifest.json"),
#   profile = "canvas",
#   include_solutions = FALSE
# )
# 
# print(manifest)

