ramnathv/knitr — comment on commit c3375ee1c17c7b709295bdd66ffdf6a2e7eef8cd
File: R/themes.R line 3
By ramnathv:

I agree that `get_theme` and `set_theme` should share the same help page. I am a novice to `roxygen2`, so will try to implement the ideas you suggested.

I don't quite agree with your logic for the second part. First off, all of Andre-Simon's themes are installed along with `knitr` and so are available for use offline. For `eclipse` themes, the user will have to save them first using `save_eclipse_theme`, which automatically saves the requested eclipse theme as a css file in the `themes` folder of `knitr`, hence making it available for offline use. Secondly, parsing the css file to a latex header is pretty fast. So caching will not really be of much help.