[R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files
Floris Vanderhaeghe
||or|@@v@nderh@eghe @end|ng |rom |nbo@be
Wed Mar 31 10:29:18 CEST 2021
> 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.
More information about the R-package-devel
mailing list