Nothing
.onLoad <- function(...) {
stopifnot(!environmentIsLocked(asNamespace("testUserLoadHook")))
setHook(
packageEvent("testUserLoadHookUpstream", "onLoad"),
function(...) {
stopifnot(environmentIsLocked(asNamespace("testUserLoadHookUpstream")))
# The package exports are populated when user onLoad hooks are run
stopifnot(is.null(testUserLoadHookUpstream::foo()))
rlang::signal("", "hook_was_run")
}
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.