You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
trailing_blank_lines_linter for individual Rmd chunks? #741
Activity
IndrajeetPatil commentedon Oct 4, 2022
Definitely, these should be linted.
Thankfully, simply running
{styler}should help clean up these lints.Created on 2022-10-04 with reprex v2.0.2
IndrajeetPatil commentedon Oct 4, 2022
Actually, this already works! I guess it's just a matter of adding tests?
Created on 2022-10-04 with reprex v2.0.2
Tests for `trailing_blank_lines_linter()` with chunks
MichaelChirico commentedon Oct 4, 2022
the issue is referring to when internal chunks have trailing blank lines, say chunk 2 out of 3
IndrajeetPatil commentedon Oct 4, 2022
I am not sure if I still get it. 😢
In your example code, are you referring to these blank lines?
MichaelChirico commentedon Oct 4, 2022
no, but your example works. chunk 1 has trailing blank lines after
some code, chunk 2 does notTests for `trailing_blank_lines_linter()` with chunks (r-lib#1614)