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
Author: David Hugh-Jones [aut, cre]
Maintainer: David Hugh-Jones <davidhughjones at gmail.com>
BugReports: https://github.com/hughjonesd/onetime/issues
License: MIT + file LICENSE
URL: https://github.com/hughjonesd/onetime, https://hughjonesd.github.io/onetime/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: onetime results

Documentation:

Reference manual: onetime.pdf
Vignettes: Introduction to onetime

Downloads:

Package source: onetime_0.2.0.tar.gz
Windows binaries: r-devel: onetime_0.2.0.zip, r-release: onetime_0.2.0.zip, r-oldrel: onetime_0.2.0.zip
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
Old sources: onetime archive

Linking:

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