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

prompt becomes a question mark if Authors@R is NULL #606

Closed
mcol opened this issue Mar 8, 2017 · 0 comments
Closed

prompt becomes a question mark if Authors@R is NULL #606

mcol opened this issue Mar 8, 2017 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@mcol
Copy link
Contributor

mcol commented Mar 8, 2017

I am experiencing a problem when running devtools::document() with roxygen2 version 6.0.1 (version 5.0.1 seems unaffected).

My package is not using the Authors@R construct. When processing the package documentation file (with the "_PACKAGE" sentinel), eventually package_authors() is reached, which calls parse(text = desc$Authors@R). My desc contains the following fields:

> names(desc)
 [1] "Package"     "Type"        "Title"       "Version"     "Date"       
 [6] "Author"      "Maintainer"  "Description" "License"     "URL"        
[11] "LazyLoad"    "Depends"     "Imports"     "LinkingTo"   "ByteCompile"
[16] "RoxygenNote"

So desc$Authors@R is NULL, hence parse() displays a ? as prompt, which cannot be dismissed without an error.

@hadley hadley added the bug an unexpected problem or unintended behavior label Aug 16, 2017
@hadley hadley closed this as completed in 9cc24c7 Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants