f = function() {
box::use(./a[...])
helper()
}
g = function() {
box::use(./a)
helper()
}
h = function() {
box::use(./a[`%.%`])
helper()
}
ns = environment()
#' @export
helper_var = 0L
helper = function() { ns$helper_var = helper_var + 1L }
f()
g()
h()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.