depguard: Manifest-Based Dependency Conflict Detection for Sandboxed and Desktop R Sessions

Lightweight, offline-first checking of R package dependencies against the currently installed environment, without requiring a full project lockfile. Verifies a declared manifest of package versions, including version constraints declared by transitive dependencies, reports session-level snapshot differences (including stale versions still loaded in a running session), detects packages shadowed by another library, and offers single-package version rollback. Designed for hosted notebooks (e.g. Kaggle, Colab, Binder) where 'renv'-style lockfile ownership is impractical, and equally usable on a normal desktop.

Version: 0.2.0
Depends: R (≥ 3.5)
Imports: cli, stats, tools, utils
Suggests: remotes, pak, testthat (≥ 3.2.0), withr, knitr, rmarkdown, spelling
Published: 2026-10-06
DOI: 10.32614/CRAN.package.depguard
Author: Samruddhi Amol Shah [aut, cre], Kartik Patel [aut], Amrit Pal [ctb]
Maintainer: Samruddhi Amol Shah <samruddhi.bitnbyte at gmail.com>
BugReports: https://github.com/sunraycodes/depguard/issues
License: MIT + file LICENSE
URL: https://github.com/sunraycodes/depguard
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: depguard results

Documentation:

Reference manual: depguard.html , depguard.pdf
Vignettes: Using depguard in Kaggle, Colab, and on your desktop (source, R code)

Downloads:

Package source: depguard_0.2.0.tar.gz
Windows binaries: r-devel: depguard_0.1.0.zip, r-release: depguard_0.1.0.zip, r-oldrel: depguard_0.2.0.zip
macOS binaries: r-release (arm64): depguard_0.2.0.tgz, r-oldrel (arm64): depguard_0.2.0.tgz, r-release (x86_64): depguard_0.2.0.tgz, r-oldrel (x86_64): depguard_0.2.0.tgz
Old sources: depguard archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=depguard to link to this page.