This bug is described at in this [StackOverflow question](http://stackoverflow.com/questions/6982751/preserving-indentation-in-examples-section) and exists both in the `roxygen` and `roxygen2` packages. A demonstratation can be downloaded from [here](http://home.student.uu.se/chba4051/example_indentation_bug.zip).