onetime: Run Code Only Once

Allows code to be run only once on a given computer, using lockfiles. Typical use cases include startup messages shown only when a package is loaded for the very first time.

Version: 0.2.0
Imports: rappdirs, filelock
Suggests: callr, covr, devtools, doctest (≥ 0.1.0), knitr, lifecycle, mockr, rlang, rmarkdown, testthat (≥ 2.1.0), withr
Published: 2023-09-03
DOI: 10.32614/CRAN.package.onetime
Author: David Hugh-Jones [aut, cre]
Maintainer: David Hugh-Jones <davidhughjones at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: onetime results


Reference manual: onetime.pdf
Vignettes: Introduction to onetime


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


Please use the canonical form to link to this page.