Enforce PDF package vignette with knitr

前端 未结 1 629
再見小時候
再見小時候 2021-01-18 02:46

I have a vignette for my package which compiles to a nice PDF when compiled with Rscript -e \'rmarkdown::render(\"tmod.rmd\")\'. However, when I compile and ins

相关标签:
1条回答
  • 2021-01-18 03:43

    When I asked the same question on the knitr google group, Yihui Xie (author of knitr) replied:

    Use the vignette engine knitr::rmarkdown instead of knitr::knitr.

    I'm not entirely sure I understand why, but it works. Here is a link to discussion on the knitr google group.

    0 讨论(0)
提交回复
热议问题