Skip to content
Back to skills

Rcmdcheck

ASecurity

R rcmdcheck package for R CMD check. Use for running R CMD check with better output.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 4, 2026
data

Security analysis

A100/100

Scanned June 4, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill rcmdcheck --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rcmdcheck?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rcmdcheck
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-rcmdcheck/badge)](https://www.skillsdirectory.com/skills/leolin990405-rcmdcheck)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rcmdcheck
description: R rcmdcheck package for R CMD check. Use for running R CMD check with better output.
---

# rcmdcheck

Run R CMD check from R.

## Basic Usage

```r
library(rcmdcheck)

# Check current package
rcmdcheck()

# Check specific package
rcmdcheck("path/to/package")
```

## Options

```r
# With arguments
rcmdcheck(args = c("--no-manual", "--as-cran"))

# Build arguments
rcmdcheck(build_args = "--no-build-vignettes")

# Check directory
rcmdcheck(check_dir = "check_output")
```

## Common Arguments

```r
# CRAN-like check
rcmdcheck(args = "--as-cran")

# Skip manual
rcmdcheck(args = "--no-manual")

# Skip vignettes
rcmdcheck(args = "--no-vignettes")

# Skip tests
rcmdcheck(args = "--no-tests")

# Skip examples
rcmdcheck(args = "--no-examples")

# Multiple
rcmdcheck(args = c("--no-manual", "--no-vignettes"))
```

## Results

```r
# Run check
res <- rcmdcheck()

# Access results
res$errors
res$warnings
res$notes

# Status
res$status  # 0 = success

# Print summary
print(res)
```

## Error on Issues

```r
# Error if check fails
rcmdcheck(error_on = "error")

# Error on warnings too
rcmdcheck(error_on = "warning")

# Error on notes
rcmdcheck(error_on = "note")
```

## CI Usage

```r
# In CI scripts
rcmdcheck::rcmdcheck(
  args = "--no-manual",
  error_on = "warning",
  check_dir = "check"
)
```

## Compare Checks

```r
# Compare two check results
compare_checks(check1, check2)

# Compare to CRAN
cran_check_results("packagename")
```

## Revdep Checks

```r
# Reverse dependency checks
library(revdepcheck)
revdep_check()
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.