Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Analyze and measure technical quality in R code: any tool similar to SonarQube?

Tags:

r

sonarqube

A simple question: does anybody knows if a tool similar to sonarqube exists for R code? or a sonarqube library? I mean, a tool for analyzing technically quality of the code, not only highlighting or sintax formating. thanks in advance!

like image 327
COLO Avatar asked Feb 27 '18 14:02

COLO


People also ask

What is difference between SonarLint and SonarQube?

SonarLint catches issues right in your IDE while SonarQube analyzes pull requests and branches. The combination forms a continuous code quality analysis solution that keeps your codebase clean. You'll spend less time reviewing code issues and more time on code logic and solving interesting problems!

What is SonarQube code analysis?

SonarQube is a Code Quality Assurance tool that collects and analyzes source code, and provides reports for the code quality of your project. It combines static and dynamic analysis tools and enables quality to be measured continually over time.

What is the static code quality tools such as SonarQube used for?

SonarQube is an open-source platform developed by SonarSource for continuous inspection of code quality. Sonar does static code analysis, which provides a detailed report of bugs, code smells, vulnerabilities, code duplications.

What type of tool is Sonar in Devops?

SonarQube (formerly Sonar) is an open-source platform developed by SonarSource for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs, code smells on 29 programming languages.


1 Answers

You can use lintr and upload the results to SonarQube. There is an example at here:

  • https://github.com/paulospx/sonarqube-r
like image 101
Paulo P. Avatar answered Oct 12 '22 21:10

Paulo P.