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

Comments

@mcol
Copy link
Contributor

@mcol 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants