Analysis of R Code for Reproducible Research and Code Comprehension


[Up] [Top]

Documentation for package ‘CodeDepends’ version 0.5-3

Help Pages

$-method The Script class and elements
addRemoveIntermediates Determine the code block after which a variable can be explicitly removed
AnnotatedScript-class The Script class and elements
applyhandlerfactory Function handlers and handler factories
assignfunhandler Function handlers and handler factories
assignhandler Function handlers and handler factories
asVarName asVarName
coerce-method The Script class and elements
coerce-method Compute and plot life cycle of variables in code
coerce-method Create a Script object that re-reads the original file as needed
colonshandler Function handlers and handler factories
counthandler Function handlers and handler factories
datahandler Function handlers and handler factories
defaultFuncHandlers Function handlers and handler factories
defhandler Function handlers and handler factories
dollarhandler Function handlers and handler factories
filterhandler Function handlers and handler factories
findWhenUnneeded Determine the code block after which a variable can be explicitly removed
forhandler Function handlers and handler factories
formulahandler Function handlers and handler factories
fullnsehandler Function handlers and handler factories
funchandler Function handlers and handler factories
funshandler Function handlers and handler factories
getDependsThread Compute which code blocks in a script are inputs to define a variable
getDependsThread-method Compute which code blocks in a script are inputs to define a variable
getDetailedTimelines Compute and plot life cycle of variables in code
getExpressionThread Find the sequence of expressions needed to get to a certain point in the code
getInputs Get input and output variables and literals from R expressions
getInputs-method Get input and output variables and literals from R expressions
getInputs-method Create a Script object that re-reads the original file as needed
getPropagateChanges Determine which expressions to update when a variable changes
getSectionDepends Determine dependencies for code blocks
getVariableDepends Determine dependencies for code blocks
getVariables Get the names of the variables used in code
getVariables-method Get the names of the variables used in code
groupbyhandler Function handlers and handler factories
guessTaskType Guess the type of high-level task of a code block
highlightCode Display R code with highlighting of variables, links to functions and packages
historyAsScript Convert R interactive history to a Script object
inputCollector Create customized input/output collector for use in getInputs
libreqhandler Function handlers and handler factories
makeCallGraph Create a graph representing which functions call other functions
makeCallGraph-method Create a graph representing which functions call other functions
makeTaskGraph Create a graph connecting the tasks within a script
makeVariableGraph Create a graph describing the relationships between variables in a script
nseafterfirst Function handlers and handler factories
nsehandlerfactory Function handlers and handler factories
pipehandler Function handlers and handler factories
plot.DetailedVariableTimeline Compute and plot life cycle of variables in code
readAnnotatedScript Read the code blocks/chunks from a document
readScript Read the code blocks/chunks from a document
readScript-method Read the code blocks/chunks from a document
rmhandler Function handlers and handler factories
runUpToSection Evaluate the code blocks up to a particular section of a document
Script-class The Script class and elements
scriptInfo Get input and output variables and literals from R expressions
ScriptInfo-class The Script class and elements
ScriptNode-class The Script class and elements
ScriptNodeInfo-class The Script class and elements
separateExpressionBlocks Convert a script into individual top-level calls
sourceVariable Evaluate code in document in order to define the specified variables
splitRedefinitions Divide a script into separate lists of code based on redefinition of a variable
spreadhandler Function handlers and handler factories
summarize_handlerfactory Function handlers and handler factories
updatingScript Create a Script object that re-reads the original file as needed
[-method The Script class and elements