example fails to knit on Windows 7
kategorically opened this issue · comments
Hi,
I'm trying to knit the vignette example but I keep getting the same error:
pandoc.exe:
Failed to retrieve C:/Users/ultio/Documents/R/win-library/3.1/tufterhandout/tufterhandout.css
InvalidUrlException
"C:/Users/ultio/Documents/R/win-library/3.1/tufterhandout/tufterhandout.css"
"Invalid scheme"
Error: pandoc document conversion failed with error 61
I'm using a clean install of newest R and RStudio :
RStudio 0.98.1091
R version 3.1.2 (2014-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] tufterhandout_1.2 knitr_1.8 rmarkdown_0.3.11
What version of pandoc are you using? This appears to be related to rstudio/rmarkdown#238
I'm using 1.12.4.2
Try upgrading to the latest: 1.13.1. https://github.com/jgm/pandoc/releases/tag/1.13.1
If that doesn't fix it I think I can come up with a workaround.
Unfortunately that didn't help. I'm getting the same error, only now with a new code:
pandoc.exe: Could not fetch C:/Users/ultio/Documents/R/win-library/3.1/tufterhandout/tufterhandout.css
InvalidUrlException
"C:/Users/ultio/Documents/R/win-library/3.1/tufterhandout/tufterhandout.css"
"Invalid scheme"
Error: pandoc document conversion failed with error 67
I think I have a fix. Please try installing the bugfix branch
devtools::install_github("sachsmc/tufterhandout", ref = "bugfix")
and see if that fixed it. Unfortunately I don't have a Windows machine that I can test it on.
Success! Thank you very much for your help :)