Analysis of R Code for Reproducible Research and Code Comprehension

Tools for analyzing R expressions or blocks of code and determining the dependencies between them. It focuses on R scripts, but can be used on the bodies of functions. There are many facilities including the ability to summarize or get a high-level view of code, determining dependencies between variables, code improvement suggestions.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("CodeDepends")

0.6.7 by Gabriel Becker, 7 months ago


https://github.com/duncantl/CodeDepends


Report a bug at https://github.com/duncantl/CodeDepends/issues


Browse source code at https://github.com/cran/CodeDepends


Authors: Duncan Temple Lang [aut] , Roger Peng [aut] , Deborah Nolan [aut] , Gabriel Becker [aut, cre]


Documentation:   PDF Manual  


GPL license


Imports codetools, graph, XML, utils

Depends on methods

Suggests Rgraphviz, RUnit, knitr, highlight, RJSONIO, RCurl, Rcpp


See at CRAN