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

Source of a bug in devtools::document? #843

Closed
ramiromagno opened this issue Feb 5, 2019 · 1 comment
Closed

Source of a bug in devtools::document? #843

ramiromagno opened this issue Feb 5, 2019 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@ramiromagno
Copy link

hi

I think this issue: r-lib/devtools#1984 comes from assuming that this subsetting is always possible: https://github.com/klutometis/roxygen/blob/be3ef309381923e64337c3324510746990fde62f/R/object.R#L71

and that is not true for functions whose body is empty, thus explaining that Orwellian issue in devtools.

@hadley
Copy link
Member

hadley commented Aug 13, 2019

Fixed as part of #847

@hadley hadley closed this as completed Aug 13, 2019
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