search_repo: Search a Repo for Terms

Description Usage Arguments

View source: R/search_repo.R

Description

Generates counts of terms found in the .R documentation.

Usage

1
2
3
search_repo(..., repo = getOption("primary_repo"),
  base.git = getOption("base_git"), terms = NULL, split = "\\|",
  ignore.case = FALSE, perl = FALSE, fixed = FALSE)

Arguments

repo

Repo name.

base.git

Base path to where repos are store (the repo is stored).

terms

An optional argument to present the terms as one long character string. This is useful if the split (separator) is not a comma (e.g. spaces are the term separators).

split

Character vector of length one to use for splitting (i.e. the separator used in the vector). For use with the argument terms.

ignore.case

logical. If FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching.

perl

logical. Should Perl-compatible regexps be used?

fixed

logical. If TRUE, pattern is a string to be matched as is. Overrides all conflicting arguments.

...

Terms to search for in the .R files. No need for quotes.


trinker/acc.roxygen2 documentation built on May 27, 2017, 1:45 p.m.