-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathannotate_repostitle.Rd
More file actions
28 lines (28 loc) · 877 Bytes
/
Copy pathannotate_repostitle.Rd
File metadata and controls
28 lines (28 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/annotate_repostitle.R
\name{annotate_repostitle}
\alias{annotate_repostitle}
\title{Annotate package titles and repository sources}
\usage{
annotate_repostitle(string_og)
}
\arguments{
\item{string_og}{Text string (script) with package load calls.}
}
\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.
}
\description{
Annotate package titles and repository sources
}
\details{
Some annotations may be long, check for possible line breaks
introduced into your script.
}
\examples{
test_string <- c("library(knitr)\nrequire(datasets)")
annotate_repostitle(test_string)
}