Package: rscc 0.2.1
rscc: R Source Code Similarity Evaluation by Variable/Function Names
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.
Authors:
rscc_0.2.1.tar.gz
rscc_0.2.1.zip(r-4.7)rscc_0.2.1.zip(r-4.6)rscc_0.2.1.zip(r-4.5)
rscc_0.2.1.tgz(r-4.6-any)rscc_0.2.1.tgz(r-4.5-any)
rscc_0.2.1.tar.gz(r-4.7-any)rscc_0.2.1.tar.gz(r-4.6-any)
rscc_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
rscc/json (API)
| # Install 'rscc' in R: |
| install.packages('rscc', repos = c('https://sigbertklinke.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sigbertklinke/rscc/issues
Last updated from:32f20aa4a6. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 173 | ||
| source / vignettes | OK | 175 | ||
| linux-release-x86_64 | OK | 135 | ||
| macos-release-arm64 | OK | 93 | ||
| macos-oldrel-arm64 | OK | 128 | ||
| windows-devel | OK | 90 | ||
| windows-release | OK | 88 | ||
| windows-oldrel | OK | 86 | ||
| wasm-release | OK | 118 |
Exports:as_igraphbrowsedocumentsfreq_tablematrix2dataframesame_filesimilaritiessimilarity_coeffsimssourcecodetfidf
Dependencies:BHclicpp11crayonformatRgluehighlightigraphlatticelifecyclemagrittrMatrixNLPpkgconfigRcpprlangslamtmvctrsxml2
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| as.igraph | as_igraph |
| browse | browse |
| documents | documents |
| freq_table | freq_table |
| matrix2dataframe | matrix2dataframe |
| same_file | same_file |
| sim_coeff | sim_coeff |
| similarity_coeff | similarity_coeff |
| similarities | similarities sims |
| sourcecode | sourcecode sourcecode.default |
| tfidf | tfidf |
