Skip to content

cppcheckR

1.0.0

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

0packages depend
2.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Stéphane LaurentFirst published 2022-06-101 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 29 wordsVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #18,914 · ~7/day · ~210/mo
Daily download trend is not available in this view yet.
15330 days
59590 days
2.5K1 year
Compare downloads with other packages →
Also on111 r2u13 autocran

Repository

Repository
3Stars
0Forks
0Open issues
0Open PRs
0Releases
80Commits
1Contributors
rcppcheckrstudio-addinhtmlwidgets
License GPL-3.0 · 80 commits · Last activity 2022-06-09

Stars over time

2023-02-19 · 32026-07-07 · 3

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/stla/cppcheckr on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Copyright holders (2)
Copyright holder
Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2022-06-10
Total releases
1 / 4 yrs
License
GPL-3 OSI
Download size
66 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cppcheckR")
Laurent, S., luyilin, & Gupta, A. (2022). cppcheckR: Check 'C' and 'C++' Files using 'Cppcheck' (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.cppcheckR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cppcheckR version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy