requireNamespace("knitr")
Merc 280C
This file has been generated by the following steps:
- The script
generate-cars.R
(Quarto pre-render script) loops through rows ofmtcars
data frame and renders a whisker (de Jonge 2019) templatetemplate.whisker
into aqmd
file (Quarto source) in thecars
folder. - Those
qmd
files are rendered by Quarto normally.
<- mtcars[params$rowid , , drop = FALSE] dat
This is a report for Merc 280C. The data are:
::kable(dat) knitr
mpg | cyl | disp | hp | drat | wt | qsec | vs | am | gear | carb | |
---|---|---|---|---|---|---|---|---|---|---|---|
Merc 280C | 17.8 | 6 | 167.6 | 123 | 3.92 | 3.44 | 18.9 | 1 | 0 | 4 | 4 |
References
de Jonge, Edwin. 2019. Whisker: mustache for r, Logicless Templating. https://CRAN.R-project.org/package=whisker.