Skip to content
Back to formatted view

Raw Message

Message-ID: <5456b02b-f8cb-17f3-1b21-ac54362d5954@inbo.be>
Date: 2021-03-31T08:29:18Z
From: Floris Vanderhaeghe
Subject: [R-pkg-devel]  CRAN note about \href{https://doi.org/...}{label} in Rd files
In-Reply-To: <LOYP265MB2015954314983942F1374B9DAE7D9@LOYP265MB2015.GBRP265.PROD.OUTLOOK.COM>

> This is a recent addition to R checks. I am pretty sure that \doi{} with the suggested syntax does produce proper links in the documentation.
>
> Georgi Boshnakov
>
Indeed, \doi{} produces proper links. But I think the note should not be 
triggered when a https://doi.org address is used inside 
\href{doiURL}{text}, where the purpose is to show "text", not a 
DOI-string in standard format. In that way it would remain possible to 
link "text" to a stable doi-URL.

Using \href{doiURL}{text} currently triggers the DOI note.