[R-pkg-devel] proper way to cite an invalid URL

Jason Cory Brunson corne||o|d @end|ng |rom gm@||@com
Wed Apr 2 19:28:32 CEST 2025


Hello,

I'm trying to submit a new version of a package to CRAN. Among the 
additions is an RMarkdown vignette that uses data from a website that is 
no longer active. For completeness, i'd still like to cite the invalid 
URL, but without formatting it as a hyperlink. What is the preferred way 
to do this?

One StackExchange answer is to surround the URL with <span></span>, but 
this did not remove the hyperlink when i rendered the vignette locally. 
Instead, i surrounded it with back-ticks, which works locally, but i've 
been unable to run Win-Builder checks to see whether this prevents the 
"invalid URLs" NOTE. And, even if the NOTE is prevented, i'm not sure 
this is preferred.

Thank you,

Cory Brunson



More information about the R-package-devel mailing list