-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Labels
Description
From https://stat.ethz.ch/pipermail/r-package-devel/2020q4/006236.html
If one has a DOI like <doi:10.1175/1520-0469(1981)038<1179:TSLROA>2.0.CO;2> in the package DESCRIPTION one needs to URLencode it for R CMD check to pass. I.e. "doi:10.1175/1520-0469(1981)038%3C1179:TSLROA%3E2.0.CO;2"
The problem is that the URL encoded version of the URL then gets written in the package-level manual page. And when going from Rd to HTML, the DOI is truncated after the "%".
Could roxygen2 transform DOIs to URLs and unencode their text?
llrs and salvatirehbein