Description Usage Arguments Value Author(s) Examples
search within a code base defined by src.root
, for
functions which contain @importFrom 'pkg' 'func'
1 2 | search.function.importsMe(func, pkg,
src.root = getOption("src.root", "~/src/R"))
|
pkg |
the name of a package which contains
|
func |
function or function name |
src.root |
the root directory containing your codebase. |
a list
of elements, 1 per file in which the
@importFrom directive is found. each element contains:
package |
the package name containing the import directive |
srcref |
The path to the file containing the import directive |
funcs |
a charcter vector of function name(s) which contain the import directive |
If
the element is not found, an empty list
is
returned.
Mark Cowley, 2012-07-16
1 | search.function.importsMe("rename.column", "pwbc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.