| Code | R Documentation |
Extract informations from packages R code with sourceR.
ParseCode(datadir, db="rdata", host="mongodb://localhost") ParsePackage(source, repository, ref, datadir) ExtractFunctions(datadir, db="rdata", host="mongodb://localhost", cluster.size=6) FunctionDefinitions(package) ExtractFunctionCalls(datadir, db="rdata", host="mongodb://localhost", cluster.size=6) FunctionCalls(package) ExtractCodingStyle(datadir, db="rdata", host="mongodb://localhost", cluster.size=6) CodingStyle(package)
datadir |
Directory where data is stored. |
db |
MongoDB database. |
host |
MongoDB host. |
cluster.size |
Number of cluster nodes to use. |
source |
Source of the repository. |
repository |
Repository in which the package is stored. |
ref |
Reference of the repository to use. |
package |
|
ParsePackage parses package code and stores result in
rds files.
ExtractFunctions, ExtractFunctionCalls and
ExtractCodingStyle extract function definitions, function calls
and coding style found inside R packages and store them on disk. These
functions are run on a cluster of the given size.
ParsePackage parses the R code of the package found in the
given repository into
datadir/code/source/repository/ref.rds.
FunctionDefinitions stores result of
sourceR::FunctionDefinitions into
datadir/functions/source/repository/ref.rds.
FunctionCalls stores result of sourceR::FunctioNCalls
into
datadir/calls/source/repository/ref.rds.
CodingStyle stores result of sourceR::CodingStyle into
datadir/codingstyle/source/repository/ref.rds.
Maëlick Claes <himself@maelick.net>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.