1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
#' Find the persistent environment
#'
#' Previously used to find a persistent environment inside a \code{\link{basiliskRun}} call, to allow variables to be passed across calls.
#' This is deprecated in favor of setting \code{persist=TRUE} in \code{\link{basiliskRun}},
#' which will explicitly pass an environment in which to store persistent variables.
#'
#' @return A defunct error message is raised.
#'
#' @author Aaron Lun
#'
#' @export
findPersistentEnv <- function() {
.Defunct(msg="'findPersistentEnv' is defunct.\nSet 'persist=TRUE' in basiliskRun instead.")
}
|