annotate_repostitle {annotater} | R Documentation |
Annotate package titles and repository sources
Description
Annotate package titles and repository sources
Usage
annotate_repostitle(string_og)
Arguments
string_og |
Text string (script) with package load calls. |
Details
Some annotations may be long, check for possible line breaks introduced into your script.
Value
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.
Examples
test_string <- c("library(boot)\nrequire(lattice)")
annotate_repostitle(test_string)
[Package annotater version 0.2.3 Index]