Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion R/val_pkg.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading