-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Wrong results surrounding commented lines #103
Comments
I am using the function
The output, as given below, is obviously incorrect. The function runs without any error.
My session information is as follows.
|
Thanks Yihui for the clarification. As it turns out, special care needs to be taken while commenting out multiple lines of code especially for piping functions. The link above explains the rule. Hence, I am closing the issue. |
I should really throw an error or at least emit a warning in this case. |
By filing an issue to this repo, I promise that
xfun::session_info('formatR')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/formatR')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: