renv_binding_replace <- function(symbol, replacement, envir) {
original <- envir[[symbol]]
base <- .BaseNamespaceEnv
base$unlockBinding(symbol, envir)
assign(symbol, replacement, envir = envir)
base$lockBinding(symbol, envir)
original
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.