When adding a tikz
picture environment in bookdown
, my Travis CI build stops working.
Here is the error.
Error in loadNamespace(name) : there is no package called 'magick'
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
The command "Rscript -e 'bookdown::render_book("index.Rmd")'" exited with 1.
I tried adding the magick
package to my DESCRIPTION
file like this:
- Imports:
bookdown,
magick
or like that
- Remotes:
ropensci/magick
My build is still not working.
The easiest way to reproduce the problem is to clone the repo bookdown_travis. When building the book in RStudio, everything works but I receive an error message on Travis CI.
The problem is in the 07-tikz.Rmd file. This file contains a minimal tikz
example that should be working.
Thanks in advance for your help.