rstudio / htmltools

Tools for HTML generation and output
https://rstudio.github.io/htmltools/
215 stars 68 forks source link

{markdown} package should be listed in Imports, not Suggests #313

Closed StatsRhian closed 2 years ago

StatsRhian commented 2 years ago

markdown::markdownToHTML is called as part of the htmltools::includeMarkdown() function

If you were running a fresh install of R and ran

install.packages("htmltools")
htmltools::includeMarkdown()

your code would not be able to execute because {markdown} would not be installed.

I feel that this is a key part of the {htmltools} package and therefore it should be listed under Imports: in the package description.

StatsRhian commented 2 years ago

I did do a search of issues before posting this - but I somehow missed closed issue #127. Whilst I disagree with the response, I'll close this issue since it's been addressed before.