Skip to content
Back to formatted view

Raw Message

Message-ID: <alpine.LFD.2.21.1904021820540.4518@reclus.nhh.no>
Date: 2019-04-02T16:35:08Z
From: Roger Bivand
Subject: [R-pkg-devel] Note on check of DOI: string

Using https://cran.r-project.org/web/packages/submission_checklist.html, I 
have a real but non-conformant DOI string in my DESCRIPTION file:

https://doi.org/10.1002/(SICI)1097-0258(19990830)18:16<2147::AID-SIM179>3.0.CO;2-I

giving in check --as-cran:

Found the following (possibly) invalid DOIs:
   DOI: 10.1002/(SICI)1097-0258(19990830)18:16<2147::AID-SIM179
     From: DESCRIPTION
     Status: Bad Request
     Message: 400

as parsing the string appears not to parse the embedded ">" correctly. Is 
escaping possible? Easiest would be just dropping the DOI in this case, as 
it is not rendering correctly. It looks like the pattern string in 
tools/R/doitools.R line 33 is over-eager.

Hints welcome,

Roger

-- 
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; e-mail: Roger.Bivand at nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en