@chriddyp Yes, preserve indentation of blank lines when they are inside code blocks.  I am pro-PEP8 but I can hear both sides; see, for instance: http://stackoverflow.com/questions/2727988/python-indentation-in-empty-lines
I use RStudio and, when I'm done editing, I select all and do "Reindent Lines".  And I get these indents inside code blocks.  So I trust this as a standard R thing.