2018-02-25 23:49 GMT+01:00 William Revelle <li...@revelle.net>:
> Hi,
>
> I am trying to take advantage of the Authors@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@R
>   Author:    'William Revelle [aut, cre] 
> (<https://orcid.org/0000-0003-4880-9610>)'
>   Authors@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@R:  person("William", "Revelle", role =c("aut","cre"), 
> email="reve...@northwestern.edu", comment=c(ORCID  = "0000-0003-4880-9610") )
>
> Thanks for any suggestions.

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

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

Iñaki

>
> Bill
>
>

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to