sessioncheck: Checks Session Status

Provides tools for checking whether an R session is in a clean state, including the global environment, attached packages, loaded namespaces, attached environments, session run time, R options, locale settings, and system environment variables. Intended as a safer replacement for the common 'rm(list = ls())' idiom: rather than silently wiping the global environment, sessioncheck() surfaces problems so the user can make an informed decision. The package also supplies tools for documenting the session state, to aid in the overall process.

Version: 0.2.0
Suggests: knitr, rmarkdown, sessioninfo, spelling, testthat (≥ 3.0.0)
Published: 2026-09-13
DOI: 10.32614/CRAN.package.sessioncheck
Author: Danielle Navarro ORCID iD [aut, cre, cph], Meghan Harris ORCID iD [ctb]
Maintainer: Danielle Navarro <djnavarro at protonmail.com>
BugReports: https://github.com/djnavarro/sessioncheck/issues
License: MIT + file LICENSE
URL: https://github.com/djnavarro/sessioncheck, https://sessioncheck.djnavarro.net/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: sessioncheck results

Documentation:

Reference manual: sessioncheck.html , sessioncheck.pdf

Downloads:

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

Linking:

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