View source: R/annotate_repostitle.R
annotate_repostitle | R Documentation |
Annotate package titles and repository sources
annotate_repostitle(string_og)
string_og |
Text string (script) with package load calls. |
Some annotations may be long, check for possible line breaks introduced into your script.
Text string with package titles and package repository source annotations. Will make note of packages not currently installed. Lines with existing comments or annotations are ignored by the regular expression that matches package names. Also ignores base packages.
test_string <- c("library(boot)\nrequire(lattice)")
annotate_repostitle(test_string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.