bedapub / designit

Blocking and randomization for experimental design
https://bedapub.github.io/designit/
Other
7 stars 1 forks source link

replace the current caching approach with cached markdowns #3

Closed idavydov closed 1 year ago

idavydov commented 1 year ago

Currently, we have some code to to cache slow parts of vignettes.

This code is ugly and relies on global variables, it also causes some warnings dring R check.

Instead we would like to put slow code into a child markdown document, which can be rendered manually when needed.

After discussing with @banfai we decided to put all the child documents (Rmds and mds) into vignettes/cached.

banfai commented 1 year ago

this seems to be working with both devtools and pkgdown

idavydov commented 1 year ago

Congrats! 🎉