Open lianos opened 10 years ago
I think this is due to the fact that htmltools is temporarily incompatible with rmarkdown (as we are waiting for some changes to htmltools to hit CRAN before merging dependent changes into rmarkdown). I think if you install the htmltools-refactor branch of rmarkdown (https://github.com/rstudio/rmarkdown/tree/htmltools-refactor) things will work as expected. @jcheng5 can tell us for sure.
Thanks for the quick response!
Installing the htmltools-refactor
branch of rmarkdown has resolved this issue for me.
I'd close this, but perhaps it's worth leaving this issue open until this is sorted out in master just in case others get bit by this in the interim ... your call.
Thanks again!
The list element that is meant to hold the name of the directory to find "the goods" in seems to be in flux and the object that is generated within
htmltools
is not valid as far asrmarkdown
is concerned.htmltools::htmlDependency
puts this in a list element namedsrc
and it seems thatrmarkdown::validate_html_dependency
expects this to be in a list element namedpath
.Furthermore,
src
is flagged as aninvalid_field
at the tail endrmarkdown::validate_html_dependency
.I'm running into this bug because I'm trying to get an rmdexmaples::datatable into an rmarkdown report.