Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DESCRIPTION file from create() shouldn't have Maintainer field #527

Closed
wch opened this issue Jul 17, 2014 · 2 comments
Closed

DESCRIPTION file from create() shouldn't have Maintainer field #527

wch opened this issue Jul 17, 2014 · 2 comments

Comments

@wch
Copy link
Member

wch commented Jul 17, 2014

When submitting a package to CRAN, the Authors@R field shouldn't contain a Maintainer field, if the Authors@R has [aut, cre].

If both are present, R CMD check --as-cran, gives this NOTE:

* checking DESCRIPTION meta-information ... NOTE
Maintainer field differs from that derived from Authors@R
  Maintainer: 'First Last <[email protected]>'
  Authors@R:  '"First Last <[email protected]>'

The note doesn't come up when using check(), but it does come up when you use with_envvar(c("_R_CHECK_CRAN_INCOMING_"=TRUE), check()).

@hadley
Copy link
Member

hadley commented Jul 21, 2014

Right, if you're using Authors@R, you shouldn't use maintainer or author.

@wch
Copy link
Member Author

wch commented Jul 21, 2014

Oh, I think made a mistake - I thought that create() was adding both the Authors@R and the Maintainer fields, but I must have added in the Maintainer myself in a package I was working on.

@wch wch closed this as completed Jul 21, 2014
@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants