Description
A Way to Perform Code Review or QA on Other Packages.
Description
Reviews other packages during code review by looking at their dependencies, code style, code complexity, and how internally defined functions interact with one another.
README.md
PaRe
PaRe (Package Reviewer) is the successor of the DependencyReviewer package. PaRe reviews other packages during code review and has the following features:
- What dependencies are used, and what functions are used of that dependency.
- The quality of the code style using lintr.
- Code complexity, using the cyclomatic complexity scores.
- How internally defined functions interact with one another, and visualizing this in a diagram.
- Fetching locations of defined functions in R-files.
- Checking dependencies against user a defined white list.
- Count lines of code for different languages by default: R, C++, SQL, and Java.
- Make a standardized HTML-report exploring the before mentioned features.
Installation
You can install the development version of PaRe like so:
install.packages("remotes")
remotes::install_github("darwin-eu-dev/PaRe")
Latest changes:
- Using R6 objects
- Generalized function input to use R6 objects
- Minor efficiency changes
- Major vignette updates.