Package: onetime 0.2.0

David Hugh-Jones

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.

Authors:David Hugh-Jones [aut, cre]

onetime_0.2.0.tar.gz
onetime_0.2.0.zip(r-4.7)onetime_0.2.0.zip(r-4.6)onetime_0.2.0.zip(r-4.5)
onetime_0.2.0.tgz(r-4.6-any)onetime_0.2.0.tgz(r-4.5-any)
onetime_0.2.0.tar.gz(r-4.7-any)onetime_0.2.0.tar.gz(r-4.6-any)
onetime_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
onetime/json (API)
NEWS

# Install 'onetime' in R:
install.packages('onetime', repos = c('https://community.r-multiverse.org', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hughjonesd/onetime/issues

Pkgdown/docs site:https://hughjonesd.github.io

On CRAN:

Conda:

4.00 score 2 stars 7 scripts 183 downloads 14 exports 2 dependencies

Last updated from:e36294db9b (on CRAN-0.2.0). Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK143
source / vignettesOK169
linux-release-x86_64OK145
macos-release-arm64OK106
macos-oldrel-arm64OK83
windows-develOK89
windows-releaseOK89
windows-oldrelOK105
wasm-releaseOK122

Exports:check_ok_to_storeonetime_been_doneonetime_dironetime_doonetime_mark_as_doneonetime_messageonetime_message_confirmonetime_onlyonetime_resetonetime_rlang_informonetime_rlang_warnonetime_startup_messageonetime_warningset_ok_to_store

Dependencies:filelockrappdirs

Introduction to onetime

Rendered fromonetime.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2023-09-02
Started: 2022-12-08