pharmaverse/examples

Add hook_purl to generate scripts

Closed this issue · 0 comments

We could add this code to automatically generate scripts from qmd files when we render the pages.

knitr::knit_hooks$set(purl = knitr::hook_purl)
knitr::opts_chunk$set(echo = TRUE)