I wanted to remove the htmlDependencies from some shiny UI code. After looking at the available functions in htmltools, I thought suppressDependencies was my answer, and my intuition was that I could do:
suppressDependencies(ui)
to simply remove dependencies. But after looking at the documentation I saw that this is not correct.
It would be nice to have a removeDependencies() function that can be given any HTML tags and simply remove the html dependencies from it
I wanted to remove the htmlDependencies from some shiny UI code. After looking at the available functions in
htmltools
, I thoughtsuppressDependencies
was my answer, and my intuition was that I could do:to simply remove dependencies. But after looking at the documentation I saw that this is not correct.
It would be nice to have a
removeDependencies()
function that can be given any HTML tags and simply remove the html dependencies from it