List packages and functions supporting futurization
Source:R/futurize_supported_tools.R
futurize_supported_packages.RdList packages and functions supporting futurization
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
#> [1] "BiocParallel" "DESeq2" "GSVA"
#> [4] "GenomicAlignments" "Rsamtools" "SimDesign"
#> [7] "SingleCellExperiment" "TSP" "base"
#> [10] "boot" "caret" "crossmap"
#> [13] "fgsea" "foreach" "fwb"
#> [16] "gamlss" "glmmTMB" "glmnet"
#> [19] "kernelshap" "lme4" "metafor"
#> [22] "mgcv" "partykit" "pbapply"
#> [25] "plyr" "purrr" "riskRegression"
#> [28] "scater" "scuttle" "seriation"
#> [31] "shapr" "stars" "stats"
#> [34] "strucchange" "sva" "tm"
#> [37] "vegan"
if (requireNamespace("future.apply")) {
fcns <- futurize_supported_functions("base")
print(fcns)
}
#> [1] ".mapply" "Filter" "Map" "apply" "by" "eapply"
#> [7] "lapply" "mapply" "replicate" "sapply" "tapply" "vapply"
if (requireNamespace("doFuture")) {
fcns <- futurize_supported_functions("foreach")
print(fcns)
}
#> [1] "%do%" "%dopar%"