Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-31 Thread Floris Vanderhaeghe
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

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Floris Vanderhaeghe
Op 30/03/2021 om 18:46 schreef Duncan Murdoch: On 30/03/2021 12:36 p.m., Duncan Murdoch wrote: On 30/03/2021 10:39 a.m., Floris Vanderhaeghe wrote: I just tried \doi{10.5281/zenodo.2611233} and it worked. Sure, but what about making a hyperlink to https://doi.org/10.5281/zenodo.2611233 while

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Duncan Murdoch
On 30/03/2021 12:36 p.m., Duncan Murdoch wrote: On 30/03/2021 10:39 a.m., Floris Vanderhaeghe wrote: I just tried \doi{10.5281/zenodo.2611233} and it worked. Sure, but what about making a hyperlink to https://doi.org/10.5281/zenodo.2611233 while showing "text" in the documentation, as in

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Duncan Murdoch
On 30/03/2021 10:39 a.m., Floris Vanderhaeghe wrote: I just tried \doi{10.5281/zenodo.2611233} and it worked. Sure, but what about making a hyperlink to https://doi.org/10.5281/zenodo.2611233 while showing "text" in the documentation, as in \href{wwwaddress}{text}. I assume the CRAN note

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Georgi Boshnakov
l] CRAN note about \href{https://doi.org/...}{label} in Rd files Hi, When running R CMD check on R-devel, a CRAN note appears about \href{https://doi.org/...}{label} in Rd files. Like: Found the following URLs which should use \doi (with the DOI name only):   File ‘read_GRTSmh.Rd’:     htt

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Floris Vanderhaeghe
> I just tried \doi{10.5281/zenodo.2611233} and it worked. Sure, but what about making a hyperlink to https://doi.org/10.5281/zenodo.2611233 while showing "text" in the documentation, as in \href{wwwaddress}{text}. I assume the CRAN note appears because it wants literal DOI strings in the

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Duncan Murdoch
On 30/03/2021 9:44 a.m., Floris Vanderhaeghe wrote: Hi, When running R CMD check on R-devel, a CRAN note appears about \href{https://doi.org/...}{label} in Rd files. Like: Found the following URLs which should use \doi (with the DOI name only):   File ‘read_GRTSmh.Rd’:    

[R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Floris Vanderhaeghe
Hi, When running R CMD check on R-devel, a CRAN note appears about \href{https://doi.org/...}{label} in Rd files. Like: Found the following URLs which should use \doi (with the DOI name only):   File ‘read_GRTSmh.Rd’:     https://doi.org/10.5281/zenodo.2611233