[R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files
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 documentation to be specified with \doi{}. However with \href{} the DOI string remains hidden. href{\doi{10.5281/zenodo.2611233}}{text} is a non-functional link while \href{https://doi.org/10.5281/zenodo.2611233}{text} is functional.