#' drake::loadds all arguments of function
#' Common usecase: loadd all objects while debugging a make_<object> function
#'
#' @keywords drake
#' @param fun function, whose arguments we want to loadd
#' @export
loadd_fun <- function(fun, envir = parent.frame()) {
sargs <- names(as.list(args(fun)))
sargs <- setdiff(sargs, c("", "..."))
drake::loadd(list = sargs, envir = envir)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.