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

Problem with pandoc / mermaid #139

Closed
gluc opened this issue Oct 19, 2015 · 3 comments
Closed

Problem with pandoc / mermaid #139

gluc opened this issue Oct 19, 2015 · 3 comments

Comments

@gluc
Copy link
Contributor

@gluc gluc commented Oct 19, 2015

After updating to the latest DiagrammeR from CRAN, my vignette is not building any more, giving me the following error:

pandoc.exe: Could not fetch .\R\win-library\3.2\DiagrammeR\htmlwidgets\lib\mermaid\dist#arrowhead

See here: https://gist.github.com/gluc/b385cf03eda6387b16d4

If I run the code in R (not in markdown), it does not produce an error, but the arrowheads are not displayed any more.

I think this is related to this commit:

dbdabc1#diff-7767211fc4f816e6791a70636bff7322

@stephlocke
Copy link
Contributor

@stephlocke stephlocke commented Nov 2, 2015

+1
Getting this too in Windows, from CRAN version + github version

stephlocke added a commit to stephlocke/Rtraining that referenced this issue Nov 2, 2015
@ianjacobs
Copy link

@ianjacobs ianjacobs commented Nov 17, 2015

Me also,
On Mac, from CRAN version and github version

Incidentally, arrowheads are not displaying when rendering mermaid diagrams within R scripts, could be a related issue?

achubaty added a commit to PredictiveEcology/SpaDES that referenced this issue Nov 20, 2015
mermaid + pandoc bug in DiagrammeR v0.8 and 0.8.1 causes `eventDiagram`
and `objectDiagram` to fail during vignette build (therefore fails CMD
check).

rich-iannone/DiagrammeR#139

* workaround: remove DiagrammeR from Imports
* check for Diagrammer v 0.7 namespace; if found, use it; if not, warn
user with instructions on installing 0.7
achubaty added a commit to achubaty/DiagrammeR that referenced this issue Nov 21, 2015
attempt to resolve issue rich-iannone#139

* commit 008bb33 added `.mermaid` to
each css element, but these additions were wiped out in commit
8a99996

TO DO

* not sure why arrowhead was deleted
(dbdabc1) -- unable to reproduce pandoc
error no windows. try on linux.
* R CMD check throws a bunch of warnings
rich-iannone added a commit that referenced this issue Nov 23, 2015
fix for pandoc/mermaid issue #139
@yulijia
Copy link

@yulijia yulijia commented Dec 16, 2015

Is there any way to bring arrowhead back to the package?
I am a new user of this package, I run some examples at DiagrammeR website , none of arrowheads are displayed in the figures.

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.