Closed maelle closed 3 years ago
Seen when trying to highlight pkgdown's
https://github.com/r-lib/pkgdown/blob/429aac8401b58b0275b76b045b569c28ad1287ba/R/build-reference.R#L218
I think it might be better to fix this a bit further upstream by making package_urls("") return NA_character_. Then you can test href_package("")
package_urls("")
NA_character_
href_package("")
:+1: , closing in favour of #115
Seen when trying to highlight pkgdown's
https://github.com/r-lib/pkgdown/blob/429aac8401b58b0275b76b045b569c28ad1287ba/R/build-reference.R#L218