ns-rse / sheffield-thyroid

http://blog.nshephard.dev/sheffield-thyroid/
GNU General Public License v3.0
0 stars 0 forks source link

Get caching working correctly #28

Closed ns-rse closed 2 months ago

ns-rse commented 2 months ago

Ideally we should be using Quarto's caching feature so that only things that change need to be re-run when re-rendering/previewing are executed.

At the document level this requires adding the following to the YAML header...

execute:
  cache: true

If this doesn't work individual code chunks can be cached by adding the option to its header...

#| cache: true