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

BUG: Commenting a function may add export("#") #114

Closed
talgalili opened this issue Mar 16, 2013 · 1 comment
Closed

BUG: Commenting a function may add export("#") #114

talgalili opened this issue Mar 16, 2013 · 1 comment

Comments

@talgalili
Copy link

If I comment out a function, it may cause a problem with the NAMESPACE file.

For example, check the following code:

# #' @title something
# #' @export
# some.foo <- funcion() {}

This code will add:
export("#")

To my NAMESPACE file.

Thanks.

@hadley
Copy link
Member

hadley commented Nov 4, 2013

Yes, this is a drawback of the current parser, and is difficult to overcome.

@hadley hadley closed this as completed Nov 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants