rformatrd

Keep Spaces in Rd Files


I'd like to retain multiple spaces in the \details{} section's text of an Rd help file, which by default are compressed to one single space. The result should look like:

enter image description here

Either this is super trivial or impossible. Any ideas out there?


Solution

  • Just add \verb{ } or in roxygen2 ` `, with proper numer of spaces .