rstudio/bookdown-demo

Fails to compile

joelgombin opened this issue · 5 comments

When I try to compile (by hitting the button "Knit" in RStudio), I get this error:

Quitting from lines 55-88 (book.Rmd) 
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
  objet 'is_html_output' introuvable
Calls: <Anonymous> ... inline_exec -> withVisible -> eval -> eval -> ::: -> get
Exécution arrêtée

OS : Ubuntu 14.04
RStudio version: 0.99.825
R version: 3.2.2
knitr version: 1.11
bookdown version: 0.0.5
pandoc version: 1.13.1

Any idea what's goign wrong?

You need the development version of knitr: https://github.com/yihui/knitr

Hey Folks, I had the same issue and figured out that I needed knitr v1.15 (a new knitr option for timings I think). Maybe highlight it on the bookdown website? https://bookdown.org/

yihui commented

@psolymos knitr 1.15 should be automatically installed when you install.packages('bookdown'). Anyway, again, when in doubt, update.packages() :)

Thanks @yihui , somehow it did not update automatically (maybe it was already loaded in my session) and just wanted to leave a trail.

yihui commented

Okay, I see. Thanks @psolymos