Man pages for duncantl/CodeAnalysis
Tools for Static Analysis of R code

callGraphCreate a Function Call Graph
constInputsDetermine which parameters are not modified in a function
csvTypeInfoGet information about CSV columns and number of rows
findAssignsToFind assignments to variables in R code
findCallsParamDetermine if a function directly invokes any its arguments as...
findCallsToFunctionsFind all calls to given functions or all assignments to...
findLoopConcatIdentify loop code that concatenates results
findLoopsFind explicit loops in R code
findNSEFind Non-standard evaluation via static code analysis
findReadDataFunsIdentify functions that call read and write functions
findUnusedArgsFind unused parameters and local variables
findUsedOptionsFind options set or read in R code
freeVariablesFind undefined variables in top-level R code/script
getAllCallsGet all function calls in R code
getArgFromCallAccessor Functions
getDependsGet dependent input, output and data files for an R script.
getFilesReadFind which files are read in code
getFunctionDefsGet function definitions in R code files, functions,...
getGlobalsCompute information about uses of globals, etc. for a...
getIfCondAccessor functions for elements of 'if' language objects
getInputFilesFind the file names that are read or written in R code
getR6ClassInheritsCompute the class hierarchy for a collection of R6 class...
getSourceInfoWhich R files source other files
getURLsFind literal URLs in R code
insertLangInsert language/code object(s) into a function or any...
isParameterDetermine if a variable name is a function parameter or a...
isSymbolHelper function for comparing a language object to a...
loadCodeLoad R code from a directory
mkClassGraphCreate graph of S4 class hierarchy
mkGlobalsLocalModify a function to make the global variables additional...
pkgCodeInfoInformation about code in an R file or directory of R files
removeAfterReturnRemove any code after a top-level 'return' call
removeConstIfEliminate dead if code
returnsFunctionChecks whether a function returns a function?
rlangTypeGet the R language type of an rstatic AST object
S3AssignmentsIdentify S3 class assignments in R code
substituteDefaultValuesInsert code for default values into the body of the code
duncantl/CodeAnalysis documentation built on Feb. 21, 2024, 10:49 p.m.