R
Analyze R projects with FOSSA through the FOSSA CLI using the renv dependency manager.
1 min readUpdated Jul 9, 2026
Overview
FOSSA supports R projects that manage dependencies with renv. R analysis is performed with the FOSSA CLI.
Tool support
| Tool | Quick Import (app.fossa.com) | CLI (fossa-cli) |
|---|---|---|
| R (renv) | N/A | DESCRIPTION, renv.lock |
Analyzing with the CLI
Direct dependencies are read from the project's DESCRIPTION file, while deep dependencies and edges come from the renv.lock lockfile produced by renv::snapshot().
Install the latest release of fossa-cli:
Shell
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bashThen run fossa analyze from your repository's root directory. See the renv strategy reference for detection, analysis details, and limitations.
Analysis strategies
| Strategy | Direct Deps | Deep Deps | Edges | Container Scanning |
|---|---|---|---|---|
renv.lock | ⚠️ | ✅ | ✅ | ✅ |
DESCRIPTION & renv.lock | ✅ | ✅ | ✅ | ✅ |
- ✅, Supported when relevant data is available
- ⚠️, Dependencies are included but not classified as direct
- ❌, Not supported