[R-pkg-devel] proper way to cite an invalid URL
Duncan Murdoch
murdoch@dunc@n @end|ng |rom gm@||@com
Wed Apr 2 23:42:35 CEST 2025
On 2025-04-02 1:28 p.m., Jason Cory Brunson wrote:
> 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.
Why not leave off the scheme, e.g. "www.r-project.org" instead of
"https://www.r-project.org".
Duncan Murdoch
More information about the R-package-devel
mailing list