Formatting Package Citations in Sweave/knitr Documents

parsePackageCitation(x)

Arguments

x

output document, as a single string.