Comments (17)
You should give your sessionInfo()
along with your reproducible example.
I suspect you use Windows. I had a similar problem, which seems to be a bug with Pandoc on Windows.
To solve my problem, I just added <!-- rmarkdown v1 -->
at the top of my Rmd file.
There may be a cleaner way to do this, but for now, I'm just waiting for this bug to be corrected in Pandoc. Lazy lazy :-)
from badgecreatr.
@kalimu is this still a problem? I see the links are working on github and I have no errors on my machine (windows 64bit) .
Thanks for the reporting! and thanks @privefl for the speedy reaction
from badgecreatr.
This still keeps happening in my projects as well
Perhaps a try catch action?
from badgecreatr.
This is a problem for me but privefl
's solution works.
from badgecreatr.
Weird. What windows version are you using? And are all your packages up to date?
from badgecreatr.
I only get the error if I have badgecreatr
loaded via library()
. If I restart RStudio (unloading badgecreatr
) then I don't need privefl
s solution.
sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.2 LTS
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] badgecreatr_0.1.0 wql_0.4.9 devtools_1.13.1.9000
loaded via a namespace (and not attached):
[1] Rcpp_0.12.11 knitr_1.16 magrittr_1.5 pkgload_0.0.0.9000 munsell_0.4.3
[6] colorspace_1.3-2 lattice_0.20-35 rlang_0.1.1.9000 stringr_1.2.0 plyr_1.8.4
[11] tools_3.4.0 pkgbuild_0.0.0.9000 grid_3.4.0 gtable_0.2.0 withr_1.0.2
[16] htmltools_0.3.6 yaml_2.1.14 lazyeval_0.2.0 rprojroot_1.2 digest_0.6.12
[21] tibble_1.3.3 reshape2_1.4.2 ggplot2_2.2.1.9000 codetools_0.2-15 evaluate_0.10
[26] memoise_1.1.0 rmarkdown_1.5 stringi_1.1.5 compiler_3.4.0 scales_0.4.1
[31] backports_1.1.0 zoo_1.8-0
pandoc 1.16.0.2
from badgecreatr.
I still think it is mostly a pandoc issue and not related to badgecreatr. Although it does impact this package.
https://support.rstudio.com/hc/en-us/community/posts/202794236-Bump-pandoc-version-number
I believe the latest version of rstudio has version 1.19 that should fix your bug. Please report back if it doesn't. I will try to find time this weekend
from badgecreatr.
Ok, I upgraded my pandoc and RStudio (although I'm pretty sure pandoc
does not ship with the linux RStudio
builds). Still seeing error 67 with badgecreatr
attached.
pandoc --version
pandoc 1.19.2.1
RStudio version: 1.1.263
from badgecreatr.
Thank you for testing! I'll let you know what I find this weekend
from badgecreatr.
My best guess is a pandoc issue:
https://stackoverflow.com/questions/44136481/render-code-for-google-chart-in-rmarkdown-rmd
from badgecreatr.
Don't be afraid to upen up the issue again if the new version of badge creatr (and pandoc) gives you this error again, Josheph @jsta .
from badgecreatr.
I am facing the same problem with pandoc 1.19.2.1 in windows.
Not getting any badges for license, minimal R version, packageversion and last change date.
Only the badges for repo status and CRAN work.
from badgecreatr.
Thanks for reporting!
from badgecreatr.
Having this problem again:
---
title: "mwe"
output: html_document
---
[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
pandoc.exe: Could not fetch https://img.shields.io/badge/lifecycle-maturing-blue.svg
TlsExceptionHostPort (HandshakeFailed Error_EOF) "img.shields.io" 443
Error: pandoc document conversion failed with error 67
Execution halted
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
other attached packages:
[1] usethis_1.3.0
loaded via a namespace (and not attached):
[1] compiler_3.5.1 backports_1.1.2 magrittr_1.5 rprojroot_1.3-2
[5] htmltools_0.3.6 tools_3.5.1 yaml_2.2.0 Rcpp_0.12.18
[9] stringi_1.2.4 rmarkdown_1.10 knitr_1.20 stringr_1.3.1
[13] digest_0.6.15 evaluate_0.11
from badgecreatr.
Not sure if this is the most relevant place for this, but I found this issue while googling for the same pandoc error that others are reporting.
I am using Windows 10 (64-bit) and RStudio 1.1.463. I installed a new version of pandoc from https://github.com/jgm/pandoc/releases/latest (2.5 at the time of writing) and copied C:\Program Files\Pandoc\pandoc.exe
to overwrite C:\Program Files\RStudio\bin\pandoc\pandoc.exe
.
"Upgrading" pandoc in this way worked for my needs (previewing markdown in RStudio).
from badgecreatr.
thank you for responding James!
Let's hope the newest Rstudio preview has a newer version of pandoc and fixes this issue.
Great solution for anyone who still has problems though!
from badgecreatr.
I have also heard that, for many people, the 32-bit version of Pandoc plays more nicely with RStudio than the 64-bit version. Worth trying if you are having these problems.
from badgecreatr.
Related Issues (20)
- add a seperate chunk placer
- shiny app to place a set of badges [seperate package]
- change master readme so people understand that development is happening in develop HOT 1
- github star and github fork have no default location , should be location = "."
- vignette idea: how to extend this package
- add repostatus badge moved to projectstatus badge
- add @return to all badge functions to describe if they return markdown or rmarkdown
- placing badges per group
- add lifecycle badges
- thanks.md file HOT 1
- github badges star repo choose default, the style=flat does not work that well
- add pkgdown docs and set website to master/docs HOT 1
- add vignette?
- add badges images to vignette
- modify minimal R version to just create a badge HOT 1
- change links in projectstatus HOT 1
- badgeplacer function HOT 1
- Error in search_git(location): trying to get slot "name" from an object (class "git_branch") that is not an S4 object HOT 1
- badge_last_change(): "404: This is not the web page you are looking for." HOT 5
- New url for lifecycle badge HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from badgecreatr.