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

ToolQuick Import (app.fossa.com)CLI (fossa-cli)
R (renv)N/ADESCRIPTION, 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 | bash

Then run fossa analyze from your repository's root directory. See the renv strategy reference for detection, analysis details, and limitations.

Analysis strategies

StrategyDirect DepsDeep DepsEdgesContainer Scanning
renv.lock⚠️
DESCRIPTION & renv.lock
  • ✅, Supported when relevant data is available
  • ⚠️, Dependencies are included but not classified as direct
  • ❌, Not supported
© 2026 FOSSA, Inc.support@fossa.com