Description
R Source Code Similarity Evaluation by Variable/Function Names.
Description
Evaluates R source codes by variable and/or functions names. Similar source codes should deliver similarity coefficients near one. Since neither the frequency nor the order of the used names is considered, a manual inspection of the R source code is required to check for similarity. Possible use cases include detection of code clones for improving software quality and of plagiarism amongst students' assignments.
README.md
rscc
Compares R code in files or expressions and computes similarity coefficients for them.
View the vignette on GitHub or after installing with
library("rscc")
vignette("rscc")
Installation
From CRAN
install.packages("rscc")
From github
Note that from github you install the current development version.
library("devtools")
install_github("sigbertklinke/rscc")
History
- 2022-01-20 version 0.2.1, improved documentation & HTML output, faster computation
- 2021-09-09 version 0.1.0