pharmaverse / examples

End to end examples of pharmaverse packages for common safety clinical reporting analyses
https://pharmaverse.github.io/examples/
Apache License 2.0
6 stars 6 forks source link

hide hook_purl() outputs #68

Closed pawelru closed 2 months ago

pawelru commented 2 months ago

follow-up on https://github.com/pharmaverse/examples/pull/51

I noticed that in the rendered webpage, below each code chunk we have displayed path to something. image

It looks like it's due to knitr::hook_purl() implemented in the aforementioned PR. It returns a path and that returned value is included in the output HTML code. My idea is to wrap this up to a higher level function so that the script is still screated but that high-level function would return nothing.