reconhub / learn

RECON learn: a free, open platform for training material on epidemics analysis
https://reconlearn.org
Other
35 stars 30 forks source link

visNetwork htmlwidget replaced with static image #19

Closed thibautjombart closed 5 years ago

thibautjombart commented 6 years ago

For instance at: https://reconlearn-ld.netlify.com/post/simulated-evd-early.html

after the command line plot(x, node_shape = "sex", shapes = c(male = "male", female = "female"), selector = FALSE) the plot should be a htmlwidget, not a png.

See https://reconlearn.netlify.com/post/simulated-evd-early/ for the corresponding version on the old site.

thibautjombart commented 6 years ago

Possibly related, when trying to render the website after removing the md files from the content/post/:

output file: practical-ebola-response.knit.md

Error: Functions that produce HTML output found in document targeting markdown_github output.
Please change the output type of this document to HTML. Alternatively, you can allow
HTML output in non-HTML formats by adding this option to the YAML front-matter of
your rmarkdown file:

  always_allow_html: yes

Note however that the HTML output will not be visible in non-HTML formats.