This "temporary solution" of moving rmarkdown from Suggests to Imports will make it so existing saveWidget(selfcontained = TRUE) code won't error out when {rmarkdown} isn't installed.
However, longer term, saveWidget() should probably be a basic wrapper around htmltools::save_html() (and {htmltools} should probably use {pandoc} instead of {rmarkdown}). In that case, we'll be able to move rmarkdown back to Suggets. See https://github.com/rstudio/htmltools/issues/73 for more
This "temporary solution" of moving rmarkdown from Suggests to Imports will make it so existing
saveWidget(selfcontained = TRUE)
code won't error out when{rmarkdown}
isn't installed.However, longer term,
saveWidget()
should probably be a basic wrapper aroundhtmltools::save_html()
(and{htmltools}
should probably use{pandoc}
instead of{rmarkdown}
). In that case, we'll be able to move rmarkdown back to Suggets. See https://github.com/rstudio/htmltools/issues/73 for more