[R-pkg-devel] Old references in the Description file.
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Thu Apr 11 14:33:32 CEST 2024
В Thu, 11 Apr 2024 11:57:00 +0000
Gabriel Constantino Blain <gabriel.blain using sp.gov.br> пишет:
> The problem is that it is a paper from the 70's (Priestley and
> Taylor, 1972) and its DOI has very uncommon symbols, such as <>. The
> DOI is: 10.1175/1520-0493(1972)100<0081:OTAOSH>2.3.CO;2.
Since the R CMD check function responsible for locating and checking
the DOIs from the package metadata expects to see them URL-encoded, it
should be possible to put your DOI through paste0('<doi:',
utils::URLencode(doi), '>') in order to generate the correct link.
Another workaround is to generate a shortDOI that would redirect to the
same place as the original DOI:
https://shortdoi.org/10.1175/1520-0493(1972)100%3C0081:OTAOSH%3E2.3.CO;2
Now <doi:10/cr3qwn> should work like the original DOI.
--
Best regards,
Ivan
More information about the R-package-devel
mailing list