Check 'C' and 'C++' Files using 'Cppcheck'

Allow to run 'Cppcheck' (< https://cppcheck.sourceforge.io/>) on 'C' and 'C++' files with a 'R' command or a 'RStudio' addin. The report appears in the 'RStudio' viewer pane as a formatted 'HTML' file. It is also possible to get this report with a 'shiny' application. 'Cppcheck' can spot many error types and it can also give some recommendations on the code.


cppcheckR

R-CMD-check

A R package to run Cppcheck on C/C++ files with a R command or a 'RStudio' addin.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("cppcheckR")

1.0.0 by Stéphane Laurent, 4 years ago


https://github.com/stla/cppcheckR


Report a bug at https://github.com/stla/cppcheckR/issues


Browse source code at https://github.com/cran/cppcheckR


Authors: Stéphane Laurent [aut, cre] , Amit Gupta [cph] ('fast-xml-parser' library) , luyilin [cph] ('json-format-highlight' library)


Documentation:   PDF Manual  


GPL-3 license


Imports htmlwidgets, rmarkdown, rstudioapi, shiny, utils, V8, xml2

Suggests htmltools, shinyAce, shinybusy, shinyFiles, shinyjqui, shinyWidgets

System requirements: cppcheck


See at CRAN