diff --git a/R/val_pkg.R b/R/val_pkg.R index 4af6329..32ac127 100644 --- a/R/val_pkg.R +++ b/R/val_pkg.R @@ -897,7 +897,14 @@ val_pkg <- function( package_name = pkg, package_version = ver, template_path = system.file("report/package", package = "val.pipeline"), - output_format = "typst", # Options include html, gfm, and typst. Supplying 'all' does all 3 + # Render the styled, self-contained HTML format defined in + # pkg_template.qmd (embed-resources + r-val-hub theme via + # custom.scss/custom_light.scss + top_page.html header + + # transform_pre_class.html + the foldable_code.lua filter). The + # previously-used "gfm" output carries none of that styling, which is + # why bare-converted reports render unstyled. Options include html, + # gfm, and typst; supplying 'all' does all 3. + output_format = "html", # params list: https://github.com/pharmaR/riskreports/blob/main/inst/report/package/pkg_template.qmd params = list( assessment_path = assessment_file,