R/000.import-future.R

Defines functions import_future

## The 'futurize' package don't really need to have a hard dependency on
## the 'future' package. However, we make 'futurize' attach 'future' for
## conveniency so that `plan()` is available.
#' @importFrom future plan
import_future <- function(name, default = NULL) {
  import_from(name, default = default, package = "future")
}

Try the futurize package in your browser

Any scripts or data that you put into this service are public.

futurize documentation built on Oct. 20, 2026, 1:06 a.m.