Package: onetime 0.2.0

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.5)onetime_0.2.0.zip(r-4.4)onetime_0.2.0.zip(r-4.3)
onetime_0.2.0.tgz(r-4.4-any)onetime_0.2.0.tgz(r-4.3-any)
onetime_0.2.0.tar.gz(r-4.5-noble)onetime_0.2.0.tar.gz(r-4.4-noble)
onetime_0.2.0.tgz(r-4.4-emscripten)onetime_0.2.0.tgz(r-4.3-emscripten)
onetime.pdf |onetime.html
onetime/json (API)
NEWS

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

Peer review:

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

On CRAN:

14 exports 1 stars 0.93 score 2 dependencies 164 downloads

Last updated 10 months agofrom:e36294db9b20ec964487b251fd76306c890d3891 (via CRAN-0.2.0)

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 Jun 16 2024.

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