Addin that scans the file source contents and attaches namespace information.
pretty_addin()
Either saved or untitled R or Rmd files in the source editor may be used.
In R files Highlight specific text, or not highlight at all and the whole document will be used.
In Rmd files highlight subsets of chunks to add namespaces directly in the chunks, or not highlight at all and the whole document will be used to create a new chunk at the top of the document with relevant namespaces needed to render the Rmd.