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

Provides lightweight, manifest-based checking of R package dependencies (including transitive dependencies) against the currently installed environment, without requiring a full project lockfile. Designed for sandboxed or ephemeral notebook environments (e.g. Kaggle, Colab, Binder) where 'renv'-style lockfile ownership is impractical. Includes session snapshot/diff tools (building on 'sessioninfo') to detect when an install silently changes the version of a package that is already loaded, and optional single-package version rollback.

Version: 0.1.0
Depends: R (≥ 3.5)
Imports: tools, utils, sessioninfo, cli
Suggests: remotes, pak, testthat (≥ 3.0.0), knitr, rmarkdown, spelling
Published: 2026-09-24
DOI: 10.32614/CRAN.package.depguard (may not be active yet)
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
Materials: README
CRAN checks: depguard results

Documentation:

Reference manual: depguard.html , depguard.pdf
Vignettes: Using depguard in Kaggle, Colab, and other sandboxed notebooks (source, R code)

Downloads:

Package source: depguard_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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