Skip to content

ecos-umons/sourceR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R-CMD-check

sourceR

Static code analysis for R currently allowing one to analyze code for clone detection and naming conventions.

Installation

With devtools package:

devtools::install_github("ecos-umons/extractoR")

Usage

You might need to adjust size of the stack if you want to analyze very huge number of lines of code. Do this both for R and your OS. This is known to happen when analyzing code from CRAN cape package.

For R it can be done such as:

options(expressions=10000)

For GNU/Linux (and possibly other UNIX like OS) it can be done using ulimit:

# Current limit
ulimit -s
# Change it to a value sufficient to analyze CRAN cape package
ulimit -s 16384

About

Clone detection for R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages