rstudio / htmltools

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

Documentation: `suppressDependencies()` doesn't say that it works by setting the version to 9999 #353

Open daattali opened 1 year ago

daattali commented 1 year ago

After trying to understand how suppressDependencies works, I noticed that it doesn't actually remove the dependency, but rather it sets the version to 9999, assuming that this is not the version requested.

This is unlikely to ever become an issue, but just to be on the safe and trnasparent side, it would be good to mention this behaviour in the documentation, so that if someone ever does use 9999 as a test, they would know not to.