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

create() creates duplicate Authors@R fields #332

Closed
dtenenba opened this Issue Jul 29, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@dtenenba

dtenenba commented Jul 29, 2013

> library(devtools)
> x <-  'person("Bioconductor Package", "Maintainer", email = "maintainer@bioconductor.org", role=c("aut", "cre"))'
> desc <- list()
> desc[["Authors@R"]] <- x
> create("foo", desc)
Creating package foo in .
No DESCRIPTION found. Creating default:

Package: foo
Title: 
Description: 
Version: 0.1
Authors@R: # getOptions('devtools.desc.author')
Depends: R (>= 3.0.1)
License: # getOptions('devtools.desc.license')
LazyData: true
Authors@R: person("Bioconductor Package", "Maintainer", email = "maintainer@bioconductor.org", role=c("aut", "cre"))

Note that Authors@R appears twice, and the resulting package can't be built by R CMD build. This is with devtools_1.3.99.

On another topic, I think it's misleading that it says "No DESCRIPTION found. Creating default". In fact we are passing a description parameter, and it does not contain all default values.

@hadley hadley closed this in ba2ae0c Oct 7, 2013

@lock lock bot locked and limited conversation to collaborators Sep 19, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.