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.

Package details

AuthorDavid Hugh-Jones [aut, cre]
MaintainerDavid Hugh-Jones <davidhughjones@gmail.com>
LicenseMIT + file LICENSE
Version0.2.0
URL https://github.com/hughjonesd/onetime https://hughjonesd.github.io/onetime/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("onetime")

Try the onetime package in your browser

Any scripts or data that you put into this service are public.

onetime documentation built on Sept. 3, 2023, 9:06 a.m.