Run Code Only Once


[Up] [Top]

Documentation for package ‘onetime’ version 0.2.0

Help Pages

onetime-package Run code only once
check_ok_to_store Check if the package has permission to store files on the user's computer
onetime Run code only once
onetime-rlang Print a warning or message only once using 'rlang' functions
onetime_been_done Check if a onetime call has already been made
onetime_dir Return a path to a directory beneath the onetime base directory
onetime_do Run code only once
onetime_mark_as_done Mark an action as done
onetime_message Print a warning or message only once
onetime_message_confirm Print a message, and ask for confirmation to hide it in future
onetime_only Wrap a function to be called only once
onetime_reset Reset a onetime call by ID
onetime_rlang_inform Print a warning or message only once using 'rlang' functions
onetime_rlang_warn Print a warning or message only once using 'rlang' functions
onetime_startup_message Print a warning or message only once
onetime_warning Print a warning or message only once
set_ok_to_store Grant or revoke permission to store lockfiles on the user's computer