Pretty-printing R package help in Rmarkdown.

Running your example gives me this

And I think that is the expected output. Do you get something different ?

BTW I edited your post to format correctly the Rmd code. See

FAQ: How to Format R Markdown Source