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

Vignettes are not built #12

Closed
hsonne opened this issue Dec 6, 2018 · 4 comments
Closed

Vignettes are not built #12

hsonne opened this issue Dec 6, 2018 · 4 comments
Milestone

Comments

@hsonne
Copy link
Member

hsonne commented Dec 6, 2018

What do I do wrong? The folowing does not install vignettes on my computer:

devtools::install_github("KWB-R/kwb.pkgbuild", build_vignettes = TRUE)
@mrustl
Copy link
Member

mrustl commented Dec 6, 2018

Jim (Hester) has the solution, see here: r-lib/devtools#1578

remotes::install_github(..., build = TRUE, build_opts = c("--no-resave-data", "--no-manual") (removing the --no-build-vignettes) option which is the default.

@mrustl mrustl closed this as completed Dec 6, 2018
@hsonne
Copy link
Member Author

hsonne commented Dec 6, 2018

You are my hero. Unfortunately I get this:

E  creating vignettes (3s)
   pandoc.exe: Could not fetch https://img.shields.io/badge/License-MIT-yellow.svg
   TlsExceptionHostPort (HandshakeFailed (Error_Misc "user error (unexpected type received. expecting handshake and got: Alert [(AlertLevel_Fatal,HandshakeFailure)])")) "img.shields.io" 443
   Fehler: Verarbeitung der Vignette 'tutorial.Rmd' mit folgender Diagnose fehlgeschlagen:
   pandoc document conversion failed with error 67
   Ausführung angehalten
Error in run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout),  : 
  System command error

@hsonne hsonne reopened this Dec 6, 2018
@mrustl
Copy link
Member

mrustl commented Dec 6, 2018

Check your PANDOC version:
rmarkdown::pandoc_version()

Versions < 2.0 seem to have some problems with "https:"

It worked with pandoc-2.2.1 on my computer.

Now I downloded the preview RStudio (https://s3.amazonaws.com/rstudio-ide-build/desktop/windows/RStudio-1.2.1163.zip) which ships with pandoc 2.5 and that also works for me!

If you want to test the new RStudio you can do that as it is portable:
https://support.rstudio.com/hc/en-us/articles/200534467-Creating-a-Portable-Version-of-RStudio-for-a-USB-Drive

@mrustl mrustl closed this as completed Dec 6, 2018
@hsonne
Copy link
Member Author

hsonne commented Dec 6, 2018

I am so oldschool!

> rmarkdown::pandoc_version()
[1] ‘1.19.2.1’

@mrustl mrustl added this to the v0.1.0 milestone Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants