R/interaction.R

Defines functions load_clean_all

Documented in load_clean_all

#' Clean workspace and load all packages
#' @inherit devtools::load_all
#' @family functions for interactive use
#' @export
load_clean_all <- function(...) {
  rm(
    list = ls(envir = parent.frame()),
    envir = parent.frame()
  )
  devtools::load_all(quiet = TRUE)
}
subugoe/muggle documentation built on Nov. 26, 2021, 11:42 p.m.