tidyverse / datascience-box

Data Science Course in a Box
https://datasciencebox.org
Other
922 stars 420 forks source link

fixed html widget issue #111

Closed vcannataro closed 3 years ago

vcannataro commented 3 years ago

The html widgets are no longer rendering in the .html files (e.g., https://rstudio-education.github.io/datascience-box/course-materials/slides/u2-d10-data-types/u2-d10-data-types.html#8) due to a recent update to RMarkdown (https://stackoverflow.com/questions/65766516/xaringan-presentation-not-displaying-html-widgets-even-when-knitting-provided-t) . Adding options(htmltools.preserve.raw = FALSE) fixes the issues. I think this could also be fixed by adding options(htmltools.preserve.raw = FALSE) once to setup.Rmd but I did not know if that would change behavior elsewhere unexpectedly (tested these 3 .html and everything seemed back to normal.

Thank you for all the awesome material!

naclomi commented 3 years ago

+1 saved my butt, thank you!

mine-cetinkaya-rundel commented 3 years ago

Thank you!