Closed maelle closed 1 month ago
Maybe suppressWarnings()
since we don't care whether or not there's a warning, we just want to silence it?
Don't we want the test to fail when there's no warning in order to remove the comment that is just above it?
I don't think so because then if a new version of desc was released that removed the warning, then pkgdown would fail checks on CRAN. i.e. it creates an strong connection between the two packages for relatively little gain (i.e. at some point in the future someone will look at that code and be confused that there's no longer a warning).
Thank you for the explanation, I updated the file.
🚀 Deployed on https://67111c99e331c339442619ae--pkgdown-dev.netlify.app