[R-pkg-devel] proper way to cite an invalid URL
Jason Cory Brunson
corne||o|d @end|ng |rom gm@||@com
Thu Apr 3 03:20:19 CEST 2025
Thank you both!
Nicholas, i did check the Wayback Machine; the URL was never archived,
nor was the domain itself (in case you're curious, www.ibge.Goiásv.br/).
Duncan, that worked at preventing the hyperlink locally; thank you. But
i got a new error from Win-Builder (the development version via
devtools::check_win_devel() but not the release version via
devtools::check_win_release()). It seems to apply to all URLs and DOIs,
though i did not get it on any previous check:
Checking URLs failed with message:
there is no package called 'curl'
Checking DOIs failed with message:
there is no package called 'curl'
Cory
On 4/2/25 20:28, Nicholas Tierney wrote:
> Could you potentially look for the original website in the internet
> archive / wayback machine: https://web.archive.org/ and cite that instead?
>
> On Thu, 3 Apr 2025 at 08:42, Duncan Murdoch <murdoch.duncan using gmail.com>
> wrote:
>
> 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
> <http://www.r-project.org>" instead of
> "https://www.r-project.org".
>
> Duncan Murdoch
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list