Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis errors when the vignette #71

Closed
1 task done
dwinter opened this issue Jan 11, 2016 · 2 comments
Closed
1 task done

Travis errors when the vignette #71

dwinter opened this issue Jan 11, 2016 · 2 comments
Assignees
Labels

Comments

@dwinter
Copy link
Member

dwinter commented Jan 11, 2016

At the moment the Travis CI tests are failing. The error message suggests the vignette builder should be rmarkdown rather than knitr

Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
Error: processing vignette 'rentrez_tutorial.Rmd' failed with diagnostics:
It seems you should call rmarkdown::render() instead of knitr::knit2html() because rentrez_tutorial.Rmd appears to be an R Markdown v2 document.
  • Update (some of?) the vignette, description and the travis script to use rmarkdown when rendering the vignette
@dwinter dwinter added the Bug label Jan 11, 2016
@dwinter dwinter self-assigned this Jan 11, 2016
dwinter added a commit that referenced this issue Jan 12, 2016
@dwinter dwinter closed this as completed Jan 12, 2016
caseywdunn pushed a commit to caseywdunn/hutan that referenced this issue Feb 10, 2016
kaz-yos added a commit to kaz-yos/tableone that referenced this issue Mar 31, 2016
richfitz added a commit to ropensci/cyphr that referenced this issue Apr 12, 2016
@singmann
Copy link

Instead of changing the VignetteBuilderone can also simply change to the container based infrastructure of Travis-CI by removing sudo. So instead of

sudo: required

Use:

sudo: false

(in my case it also works without either statement.)

The problem with changing to rmarkdown as VignetteBuilder is that then devtools::build_vignettes() does not work anymore.

@singmann
Copy link

Hello there,
Actually, my previous response is wrong. It rather seems one needs to add rmarkdown to Suggests in the DESCRIPTION to get it to work with VignetteBuilder: knitr. Then it works with both the container based infrastructure and the "normal" one.
Sorry for the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants