Unload a package and all dependencies
问题 I am trying to unload a package with all of its dependencies. The problem that I am running into is the order in which to unload dependencies. Because dependencies are recursive, they can only be unloaded from bottom-up in the dependency tree. Is there an easy or native way in R to accomplish this? Below a first go in what I would like to accomplish: eval_current <- function(expr, envir=parent.frame(), timeout=60){ #set the timeout setTimeLimit(elapsed=timeout, transient=TRUE); #currently