🌉 bridged from https://mastodon.cloud/@nxskok on the fediverse by https://fed.brid.gy/
(*) I should point out that assessing the linearity of a herd of goats is something I've only done once before, the last time you posted a suspiciously linear herd of goats.
(*) I should point out that assessing the linearity of a herd of goats is something I've only done once before, the last time you posted a suspiciously linear herd of goats.
- a target name
- the (template) quarto doc that is going to be rendered
- instructions for how to render it: the possible values for the parameter and what to call the corresponding output file
- any extra files to be monitored for changes (the file I […]
- a target name
- the (template) quarto doc that is going to be rendered
- instructions for how to render it: the possible values for the parameter and what to call the corresponding output file
- any extra files to be monitored for changes (the file I […]
```
tar_option_set(
packages = c("tibble") # Packages that your targets need for their tasks.
)
list(
tar_quarto_rep(
report,
"reportage.qmd",
execute_params = tribble(
~hide_answers, ~output_file,
TRUE, "rminus.html",
FALSE, "rplus.html"
) […]
```
tar_option_set(
packages = c("tibble") # Packages that your targets need for their tasks.
)
list(
tar_quarto_rep(
report,
"reportage.qmd",
execute_params = tribble(
~hide_answers, ~output_file,
TRUE, "rminus.html",
FALSE, "rplus.html"
) […]
```
---
title: "Reportage"
format: html
params:
hide_answers: false
---
{{< include inclusief.qmd >}}
```
This one is called reportage.qmd.
```
---
title: "Reportage"
format: html
params:
hide_answers: false
---
{{< include inclusief.qmd >}}
```
This one is called reportage.qmd.
```
This is some text, that might be an assignment question.
`r if (params$hide_answers) "::: {.content-hidden}"`
This might be an answer […]
```
This is some text, that might be an assignment question.
`r if (params$hide_answers) "::: {.content-hidden}"`
This might be an answer […]