Open yihui opened 5 years ago
I might be interested in helping with this.
Is there a document that describes how to install the dependencies I need for knitr
? I ran devtools::install_dev_deps()
, but I can't get the tikzDevice
package to install because it couldn't find a LaTeX compiler. I'm on Ubuntu Linux.
You don't really need the tikzDevice package. It is only a suggested dependency. As @sctyner said, tinytex::install_tinytex()
may help (you may need to restart your system to make sure $PATH
contains $HOME/bin
).
You will help me immensely if you are familiar with the .ipynb structure (JSON) and teach it to me at the unconference :)
I didn't know about TinyTeX. What an excellent idea! (I tried to install LaTeX a few years ago and gave up after several frustrating hours.)
I need all the knitr
dependencies so I can run the knitr
tests. I can't work on software without running the tests. :smile:
I'm almost there. I'm getting an error about tikzTest()
and the log says
! LaTeX Error: File `tikz.sty' not found.
I'm still tracking down why.
@yihui I will absolutely learn about the structure of .ipynb files and teach you at the unconference.
I had to install some additional LaTeX packages.
TinyTeX makes this easy (once you know what packages you need):
tinytex::tlmgr_install(c("pgf", "xcolor", "preview"))
Now all the knitr tests are passing on my machine, although there are a few warnings.
I think this would be a fun project and shouldn't be horribly challenging to finish a prototype from this unconf: https://github.com/yihui/knitr/issues/1619