[R-pkg-devel] author field in description problem

Iñaki Úcar i.ucar86 at gmail.com
Mon Feb 26 00:20:25 CET 2018


2018-02-25 23:49 GMT+01:00 William Revelle <lists at revelle.net>:
> Hi,
>
> I am trying to take advantage of the Authors at R: field in my description file for the psych package to add an ORCID address (as discussed in the R journal).
>
> When I R CMD check with R development on my Mac, or with win builder it passes all checks. (R Under development (unstable) (2018-02-23 r74298)  )
>
> But, when I test with current R on a Mac or at win builder it throws a note:
>
> Author field differs from that derived from Authors at R
>   Author:    'William Revelle [aut, cre] (<https://orcid.org/0000-0003-4880-9610>)'
>   Authors at R: 'William Revelle [aut, cre] (0000-0003-4880-9610)’
>
>
> Is there a way to fix this or should I just go ahead and submit to CRAN with a note saying that it works on R development but gives a note on R 3.4.3 ?
>
> The offending line in the Description file seems to be
>
> Authors at R:  person("William", "Revelle", role =c("aut","cre"), email="revelle at northwestern.edu", comment=c(ORCID  = "0000-0003-4880-9610") )
>
> Thanks for any suggestions.

You can use ‘Authors at R’ only to fix this NOTE. According to "Writing R
Extensions":

"Both ‘Author’ and ‘Maintainer’ fields can be omitted if a suitable
‘Authors at R’ field is given. [...] The ‘Author’ and ‘Maintainer’ fields
are auto-generated from it if needed when building or installing."

Iñaki

>
> Bill
>
>



More information about the R-package-devel mailing list