futurize_supported_packages: List packages and functions supporting futurization

View source: R/futurize_supported_tools.R

futurize_supported_packagesR Documentation

List packages and functions supporting futurization

Description

List packages and functions supporting futurization

Usage

futurize_supported_packages()

futurize_supported_functions(package)

Arguments

package

A package name.

Value

A character vector of package or function names. futurize_supported_functions() produces an error if packages required by the futurize transpiler are not installed.

Examples

pkgs <- futurize_supported_packages()
pkgs

if (requireNamespace("future.apply")) {
  fcns <- futurize_supported_functions("base")
  print(fcns)
}

if (requireNamespace("doFuture")) {
  fcns <- futurize_supported_functions("foreach")
  print(fcns)
}


futurize documentation built on March 19, 2026, 1:07 a.m.