### Check Examples Execution Error Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Details an error encountered while running package examples. This specific error indicates that the 'Lantern' library is not loaded and requires installation via `install_torch()`. ```text Running examples in ‘EQRN-Ex.R’ failed The error most likely occurred in: > ### Name: default_device > ### Title: Default torch device > ### Aliases: default_device > > ### ** Examples > > device <- default_device() Error in cpp_cuda_is_available() : Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Calls: default_device -> -> cpp_cuda_is_available Execution halted ``` -------------------------------- ### Check Installation Warnings for Torch Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Reports significant warnings during package installation related to the 'torch' library. It suggests restarting the R session if 'torch' fails to start. ```text Found the following significant warnings: Warning: ℹ torch failed to start, restart your R session to try again. See ‘/c4/home/henrik/futureverse/future/revdep/checks/EQRN/new/EQRN.Rcheck/00install.out’ for details. ``` -------------------------------- ### Installation Note for 'pareg' Package Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This snippet shows a 'NOTE' encountered during the installation check of the 'pareg' package, indicating that non-staged installation was used. Refer to the specified file for more details. ```text Found the following notes/warnings: Non-staged installation was used See ‘/c4/home/henrik/futureverse/future/revdep/checks/pareg/new/pareg.Rcheck/00install.out’ for details. ``` -------------------------------- ### Check Package Installation Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/problems.md Highlights significant warnings during package installation, such as the deprecation of a parallel processing strategy. Advises on using current best practices. ```text Found the following significant warnings: Warning: Strategy 'multiprocess' is deprecated in future (>= 1.20.0). Instead, explicitly specify either 'multisession' or 'multicore'. In the current R session, 'multiprocess' equals 'multicore'. See ‘/c4/home/henrik/repositories/future/revdep/checks/treeHMM/new/treeHMM.Rcheck/00install.out’ for details. ``` -------------------------------- ### Check Installed Package Size - gsynth Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Notes on installed package size for gsynth, indicating sub-directories exceeding 1MB. ```text installed size is 5.7Mb sub-directories of 1Mb or more: libs 5.3Mb ``` -------------------------------- ### Install revdepcheck and set CPU options Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/notes.md Configure the number of CPUs for R and install the revdepcheck package from GitHub using remotes. ```r options(Ncpus = 6L) install.packages("remotes") remotes::install_github("r-lib/revdepcheck") ``` -------------------------------- ### Install Future Package Pre-release Version from GitHub Source: https://github.com/futureverse/future/blob/develop/README.md Installs the pre-release version of the 'future' package from the 'develop' branch on GitHub using 'remotes'. ```r remotes::install_github("futureverse/future", ref="develop") ``` -------------------------------- ### Check Installed Package Size - greed Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Notes on installed package size for greed, indicating sub-directories exceeding 1MB. ```text installed size is 39.2Mb sub-directories of 1Mb or more: data 1.5Mb libs 36.3Mb ``` -------------------------------- ### Installed Package Size Check Output Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_GLOBALS_ONREFERENCE=error/problems.md Console output detailing the installed size of a package and its sub-directories, indicating potential areas for size optimization. ```text installed size is 6.2Mb sub-directories of 1Mb or more: libs 5.5Mb ``` -------------------------------- ### Install Future Package from CRAN Source: https://github.com/futureverse/future/blob/develop/README.md Standard R command to install the 'future' package from CRAN. ```r install.packages("future") ``` -------------------------------- ### R Package Installation Warning (No DISPLAY) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/problems.md This warning indicates that the R package 'envi' cannot be installed because the DISPLAY environment variable is not set, which is necessary for the Tk graphical user interface toolkit. Further details can be found in the installation output file. ```text Found the following significant warnings: Warning: no DISPLAY variable so Tk is not available See ‘/c4/home/henrik/repositories/future/revdep/checks/envi/new/envi.Rcheck/00install.out’ for details. ``` -------------------------------- ### Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_GLOBALS_ONREFERENCE=error/problems.md This note reports the installed size of a package and its sub-directories. It is informational and helps in understanding package footprint. ```text installed size is 11.1Mb sub-directories of 1Mb or more: R 1.2Mb libs 9.1Mb ``` -------------------------------- ### Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note indicates the installed size of a package and lists sub-directories exceeding 1MB. It is useful for understanding package footprint. ```text installed size is 144.4Mb sub-directories of 1Mb or more: libs 143.3Mb ``` ```text installed size is 21.8Mb sub-directories of 1Mb or more: doc 1.6Mb libs 18.8Mb ``` ```text installed size is 8.0Mb sub-directories of 1Mb or more: data 1.1Mb doc 1.4Mb shinyapp 4.9Mb ``` ```text installed size is 8.9Mb sub-directories of 1Mb or more: libs 8.1Mb ``` ```text installed size is 6.0Mb sub-directories of 1Mb or more: data 4.4Mb help 1.3Mb ``` -------------------------------- ### stppSim Package Installation Warning Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This warning indicates that the 'stppSim' package cannot be installed because the DISPLAY variable is not set, making Tk unavailable. ```text Found the following significant warnings: Warning: no DISPLAY variable so Tk is not available See ‘/c4/home/henrik/futureverse/future/revdep/checks/stppSim/new/stppSim.Rcheck/00install.out’ for details. ``` -------------------------------- ### Check Installed Package Size Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md Displays the installed size of a package and its sub-directories. Useful for identifying large dependencies. ```text installed size is 8.4Mb sub-directories of 1Mb or more: libs 6.5Mb ``` ```text installed size is 9.2Mb sub-directories of 1Mb or more: R 1.2Mb doc 1.7Mb libs 5.7Mb ``` -------------------------------- ### Check Installed Package Size (disk.frame) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This output indicates the installed size of the disk.frame package and lists sub-directories exceeding 1MB. It's a NOTE from a package check. ```text installed size is 6.2Mb sub-directories of 1Mb or more: libs 4.2Mb ``` -------------------------------- ### Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_GLOBALS_ONREFERENCE=error/problems.md This note provides information about the installed size of a package and its sub-directories, indicating potential space usage. ```R installed size is 6.6Mb sub-directories of 1Mb or more: R 3.0Mb doc 2.7Mb ``` -------------------------------- ### Check Package Installation Warnings Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Reports warnings encountered during package installation. This snippet indicates that the DISPLAY variable is not set, making Tk unavailable. ```text Found the following significant warnings: Warning: no DISPLAY variable so Tk is not available See ‘/c4/home/henrik/futureverse/future/revdep/checks/envi/new/envi.Rcheck/00install.out’ for details. ``` -------------------------------- ### Installed Package Size Note (spaMM) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note details the installed size of the 'spaMM' package, with a large portion allocated to the 'libs' directory. This suggests potential for size optimization. ```text installed size is 54.4Mb sub-directories of 1Mb or more: R 2.8Mb libs 50.2Mb ``` -------------------------------- ### Check Installed Package Size (distantia) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This output shows the installed size of the distantia package and its sub-directories larger than 1MB. It is a NOTE from a package check. ```text installed size is 9.8Mb sub-directories of 1Mb or more: data 1.0Mb libs 7.8Mb ``` -------------------------------- ### Check Installed Package Size - GeoModels Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Notes on installed package size for GeoModels, indicating sub-directories exceeding 1MB. ```text installed size is 6.0Mb sub-directories of 1Mb or more: R 1.0Mb data 1.9Mb libs 2.7Mb ``` -------------------------------- ### shiny Package Installed Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md This note details the installed size of the shiny package and its sub-directories, including R and www, which might be relevant for deployment or storage. ```text installed size is 9.3Mb sub-directories of 1Mb or more: R 1.6Mb www 6.6Mb ``` -------------------------------- ### Check installed package size for aroma.affymetrix Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note indicates the installed size of the aroma.affymetrix package is 5.4MB, with 'R', 'help', and 'testScripts' sub-directories exceeding 1MB. ```text installed size is 5.4Mb sub-directories of 1Mb or more: R 2.3Mb help 1.1Mb testScripts 1.1Mb ``` -------------------------------- ### Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Indicates the total installed size of a package and lists sub-directories exceeding 1MB. Useful for identifying large components of a package. ```text installed size is 5.2Mb sub-directories of 1Mb or more: extdata 3.1Mb ``` ```text installed size is 6.1Mb sub-directories of 1Mb or more: libs 5.3Mb ``` ```text installed size is 7.5Mb sub-directories of 1Mb or more: data 1.4Mb doc 3.8Mb ``` -------------------------------- ### Check installed package size for apsimx Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note reports the installed size of the apsimx package as 7.2MB, with 'R' and 'extdata' sub-directories exceeding 1MB. ```text installed size is 7.2Mb sub-directories of 1Mb or more: R 1.0Mb extdata 5.4Mb ``` -------------------------------- ### Shiny Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_GLOBALS_ONREFERENCE=error/problems.md This note details the installed size of the shiny package, highlighting large sub-directories. This is useful for understanding disk space usage. ```text installed size is 10.8Mb sub-directories of 1Mb or more: R 1.7Mb www 8.1Mb ``` -------------------------------- ### Check Installed Package Size Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note indicates that the installed size of the package is large, with significant space occupied by sub-directories like 'libs' or 'data'. ```text installed size is 8.0Mb sub-directories of 1Mb or more: libs 7.4Mb ``` ```text installed size is 5.1Mb sub-directories of 1Mb or more: libs 2.9Mb ``` ```text installed size is 5.1Mb sub-directories of 1Mb or more: data 3.0Mb libs 1.6Mb ``` ```text installed size is 18.7Mb sub-directories of 1Mb or more: libs 17.7Mb ``` -------------------------------- ### Check Installed Package Size (DT) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This output shows the installed size of the DT package and its 'htmlwidgets' sub-directory, which exceeds 1MB. It is a NOTE from a package check. ```text installed size is 7.8Mb sub-directories of 1Mb or more: htmlwidgets 7.0Mb ``` -------------------------------- ### Check Installed Package Size Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/problems.md Displays the installed size of a package and lists sub-directories exceeding a certain size threshold. Useful for understanding package footprint. ```text installed size is 9.9Mb sub-directories of 1Mb or more: extdata 5.6Mb libs 3.3Mb ``` -------------------------------- ### Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Reports the installed size of a package and its sub-directories. Large sizes, especially in 'doc' or 'libs', may indicate optimization opportunities. ```text installed size is 8.0Mb sub-directories of 1Mb or more: doc 6.4Mb ``` ```text installed size is 5.1Mb sub-directories of 1Mb or more: doc 4.3Mb ``` ```text installed size is 35.4Mb sub-directories of 1Mb or more: libs 33.7Mb ``` ```text installed size is 7.4Mb sub-directories of 1Mb or more: data 1.6Mb doc 5.1Mb ``` ```text installed size is 64.0Mb sub-directories of 1Mb or more: doc 1.1Mb libs 61.8Mb ``` -------------------------------- ### Installed Package Size Note (smoots) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note indicates the installed size of the 'smoots' package, with a substantial portion in the 'libs' directory. This might suggest a need for size optimization. ```text installed size is 5.4Mb sub-directories of 1Mb or more: libs 4.6Mb ``` -------------------------------- ### Error in rBiasCorrection Example Plot Creation Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_GLOBALS_ONREFERENCE=error/problems.md This error occurs during the execution of an example plot function in the 'rBiasCorrection' package. The issue stems from the inability to open an X11 display and start a PNG device, likely due to the environment where the check is being run (e.g., a non-interactive session or server). ```R gdat <- rBiasCorrection::example._plot.df_agg coef_h <- rBiasCorrection::example._plot_coef_h coef_c <- rBiasCorrection::example._plot_coef_c create_exampleplot( data = gdat, coef_hyper = coef_h, coef_cubic = coef_c, plot_height = 5, plot_width = 7.5, plot_textsize = 1, filename = paste0(tempdir(), "/exampleplot.png") ) Warning in grDevices::png(..., res = dpi, units = "in") : unable to open connection to X11 display '' Error in .External2(C_X11, paste0("png::", filename), g$width, g$height, : unable to start device PNG Calls: create_exampleplot -> -> dev -> Execution halted ``` -------------------------------- ### Cluster Futures with Hostnames Source: https://github.com/futureverse/future/blob/develop/NEWS.md Demonstrates setting up cluster futures using a list of hostnames for parallel processing. This leverages the parallel::makeCluster function. ```R plan(cluster, workers = c("n1", "n2", "n2", "n4")) ``` -------------------------------- ### Pre-install all child packages Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/notes.md Run the revdep/run.R script with the --preinstall-children flag to cache all necessary child packages for dependency checks. ```sh revdep/run.R --preinstall-children ``` -------------------------------- ### Check Installed Package Size Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md Reports the installed size of a package and lists sub-directories exceeding 1MB. Useful for identifying large package installations. ```text installed size is 7.6Mb sub-directories of 1Mb or more: libs 6.3Mb ``` ```text installed size is 265.0Mb sub-directories of 1Mb or more: doc 1.5Mb libs 261.1Mb ``` ```text installed size is 23.7Mb sub-directories of 1Mb or more: R 1.9Mb doc 1.5Mb help 2.1Mb libs 17.7Mb ``` -------------------------------- ### FLAMES Non-staged Installation Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note indicates that the FLAMES package was installed using a non-staged installation method. This might lead to issues with package management or reproducibility. ```R Found the following notes/warnings: Non-staged installation was used See ‘/c4/home/henrik/futureverse/future/revdep/checks/FLAMES/new/FLAMES.Rcheck/00install.out’ for details. ``` -------------------------------- ### Run Mandelbrot Demo with Cluster Evaluation Source: https://github.com/futureverse/future/blob/develop/README.md Demonstrates running the 'mandelbrot' demo with a cluster plan, distributing computation across specified workers. Requires 'plan(cluster, workers = ...)'. ```r plan(cluster, workers = c("n2", "n5", "n6", "n6", "n9")) demo("mandelbrot", package = "future", ask = FALSE) ``` -------------------------------- ### Pre-install packages for offline checks Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/notes.md Use 'scl enable devtoolset-4' to enable a development toolset, then run revdep/run.R with --preinstall to cache packages like blavaan for offline testing. ```sh scl enable devtoolset-4 "revdep/run.R --preinstall blavaan" ``` -------------------------------- ### TriDimRegression CRAN Installation Failure Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/failures.md Similar to the devel installation, the CRAN installation of TriDimRegression failed because the 'rstantools' package could not be loaded. This error stops the package configuration. ```text * installing *source* package ‘TriDimRegression’ ... ** package ‘TriDimRegression’ successfully unpacked and MD5 sums checked ** using staged installation Error in loadNamespace(x) : there is no package called ‘rstantools’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted ERROR: configuration failed for package ‘TriDimRegression’ * removing ‘/c4/home/henrik/futureverse/future/revdep/checks/TriDimRegression/old/TriDimRegression.Rcheck/TriDimRegression’ ``` -------------------------------- ### Using Remote Futures Source: https://github.com/futureverse/future/blob/develop/NEWS.md Example of setting up remote futures for accessing R on a server. This is useful for simple remote access with default arguments. ```R plan(remote, workers = "login.my-server.org") ``` -------------------------------- ### R Package Installed Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note reports the installed size of an R package and highlights sub-directories that exceed 1MB, which can be relevant for package distribution and installation time. ```R installed size is 7.7Mb sub-directories of 1Mb or more: datasets 1.6Mb doc 1.3Mb libs 3.1Mb ``` -------------------------------- ### Run Mandelbrot Demo with Sequential Evaluation Source: https://github.com/futureverse/future/blob/develop/README.md Executes the 'mandelbrot' demo using sequential plan for baseline comparison. Requires 'library(future)' and 'plan(sequential)'. ```r library(future) plan(sequential) demo("mandelbrot", package = "future", ask = FALSE) ``` -------------------------------- ### Sequential Futures Example Source: https://github.com/futureverse/future/blob/develop/README.md Illustrates sequential futures, which are evaluated instantaneously in the order they are created. Futures are evaluated in a local environment, preserving the calling environment. ```r > plan(sequential) > pid <- Sys.getpid() > pid [1] 2974478 > a %<-% { + pid <- Sys.getpid() + cat("Future 'a' ...\n") + 3.14 + } > b %<-% { + rm(pid) + cat("Future 'b' ...\n") + Sys.getpid() + } > c %<-% { + cat("Future 'c' ...\n") + 2 * a + } Future 'a' ... > b Future 'b' ... Warning in rm(pid): object 'pid' not found [1] 2974478 > c Future 'c' ... [1] 6.28 > a [1] 3.14 > pid [1] 2974478 ``` -------------------------------- ### R Package Installed Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md This note reports the installed size of an R package, highlighting sub-directories that exceed 1MB. This can be relevant for package distribution and installation time. ```R installed size is 5.1Mb sub-directories of 1Mb or more: libs 4.1Mb ``` ```R installed size is 30.1Mb sub-directories of 1Mb or more: libs 27.9Mb ``` -------------------------------- ### Initiate Workers with plan() Source: https://github.com/futureverse/future/blob/develop/NEWS.md Workers are now initiated when calling `plan()`. This example shows setting up workers on all cluster nodes. ```R plan(cluster) ``` -------------------------------- ### FLAMES Example Execution Error Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This error occurred during the execution of examples for the FLAMES package, specifically when running the 'create_sce_from_dir' example. The traceback points to an issue with Python package loading and pandas. ```R Running examples in ‘FLAMES-Ex.R’ failed The error most likely occurred in: > ### Name: create_sce_from_dir > ### Title: Create 'SingleCellExperiment' object from 'FLAMES' output folder > ### Aliases: create_sce_from_dir > > ### ** Examples > > outdir <- tempfile() ... File "/c4/home/henrik/futureverse/future/revdep/library/FLAMES/reticulate/python/rpytools/loader.py", line 120, in _hook return _find_and_load(name, import_) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/c4/home/henrik/futureverse/future/revdep/checks/FLAMES/new/FLAMES.Rcheck/FLAMES/python/count_gene.py", line 8, in import pandas as pd File "/c4/home/henrik/futureverse/future/revdep/library/FLAMES/reticulate/python/rpytools/loader.py", line 122, in _find_and_load_hook return _run_hook(name, _hook) ^^^^^^^^^^^^ Calls: ... tryCatch -> tryCatchList -> tryCatchOne -> Execution halted ``` -------------------------------- ### R Execution Error Example Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This snippet shows an example of an R execution error during the checking of examples in a package. It details the specific function that failed and the call stack leading to the error. ```R Running examples in ‘ChromSCape-Ex.R’ failed The error most likely occurred in: > ### Name: get_pathway_mat_scExp > ### Title: Get pathway matrix > ### Aliases: get_pathway_mat_scExp > > ### ** Examples > > data(scExp) ... 4. │ └─tibble:::`[.tbl_df`(msigdbr::msigdbr("Homo sapiens"), , columns) 5. │ └─tibble:::vectbl_as_col_location(...) 6. │ ├─tibble:::subclass_col_index_errors(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ └─vctrs::vec_as_location(j, n, names, missing = "error", call = call) 9. └─vctrs (local) ``() 10. └─vctrs:::stop_subscript_oob(...) 11. └─vctrs:::stop_subscript(...) 12. └─rlang::abort(...) Execution halted ``` -------------------------------- ### R Package Installation Note: Installed Size Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/problems.md This note reports the installed size of an R package, highlighting sub-directories that exceed 1MB. It is informational and may indicate potential issues with package bloat. ```R installed size is 40.0Mb sub-directories of 1Mb or more: libs 38.5Mb ``` ```R installed size is 5.6Mb sub-directories of 1Mb or more: libs 4.6Mb ``` -------------------------------- ### R Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md This note highlights that an installed R package has a significant size (32.6Mb), with the 'libs' directory being the largest contributor (31.4Mb). This is often a consideration for package distribution and installation time. ```R installed size is 32.6Mb sub-directories of 1Mb or more: libs 31.4Mb ``` -------------------------------- ### R Installed Package Size Note in hbamr Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note indicates a large installed size for the hbamr package (92.1MB), with the 'libs' directory accounting for 90.7MB. This is a significant size that might impact installation or deployment. ```R installed size is 92.1Mb sub-directories of 1Mb or more: libs 90.7Mb ``` -------------------------------- ### R Package Installation Note: Large Installed Size (Shiny) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/problems.md This NOTE for the 'shiny' package indicates an installed size of 11.1Mb, with significant contributions from the 'R' (1.6Mb) and 'www' (8.3Mb) sub-directories. This is relevant for deployment and storage considerations. ```R installed size is 11.1Mb sub-directories of 1Mb or more: R 1.6Mb www 8.3Mb ``` -------------------------------- ### Run revdepcheck pre-install for specific packages Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/notes.md Execute the revdep/run.R script with the --preinstall flag to prepare for checks, specifying packages like RCurl and XML. ```sh revdep/run.R --preinstall RCurl XML ``` -------------------------------- ### R Package Installation Note: Large Installed Size Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/problems.md This NOTE for the 'Seurat' package highlights its installed size (11.4Mb) and identifies large sub-directories ('R' at 1.2Mb and 'libs' at 9.5Mb). This information is useful for managing disk space. ```R installed size is 11.4Mb sub-directories of 1Mb or more: R 1.2Mb libs 9.5Mb ``` -------------------------------- ### Check Package Installation Warnings Source: https://github.com/futureverse/future/blob/develop/revdep/problems.md Indicates that a required package dependency (e.g., 'colorspace') is not available and has been replaced. This may affect package functionality. ```text Found the following significant warnings: Warning: namespace ‘colorspace’ is not available and has been replaced See ‘/scratch/henrik/revdep/future/checks/ctsem/new/ctsem.Rcheck/00install.out’ for details. ``` -------------------------------- ### Configuring Futures with .future.R Source: https://github.com/futureverse/future/blob/develop/NEWS.md Illustrates sourcing the .future.R file upon package attachment for separating scripts from future configuration. ```R # .future.R (if found in the current directory or otherwise in the user's home directory) is sourced when the **future** package is attach ``` -------------------------------- ### R Package Check: Installed Size Exceeds Limit Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md This note indicates that an R package's installed size is large, with specific sub-directories exceeding 1MB. This could impact installation time and disk space usage. ```R installed size is 6.3Mb sub-directories of 1Mb or more: libs 5.8Mb ``` ```R installed size is 11.6Mb sub-directories of 1Mb or more: libs 10.9Mb ``` ```R installed size is 43.3Mb sub-directories of 1Mb or more: libs 42.4Mb ``` -------------------------------- ### C++ Standard Warning in steps Package Installation Source: https://github.com/futureverse/future/blob/develop/revdep/problems.md During installation, a warning was issued because the 'src/Makevars' file specified an unknown C++ standard 'C++11', which was ignored. This might indicate a configuration issue or a need to update the Makevars file. ```text Found the following significant warnings: Warning: src/Makevars: Unknown C++ standard ‘C++11’ was ignored ``` -------------------------------- ### Check Installed Package Size Note (stars) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md Notes the installed size of the stars package, detailing its large sub-directories. ```R installed size is 8.6Mb sub-directories of 1Mb or more: doc 2.3Mb nc 4.5Mb ``` -------------------------------- ### MPI Initialization Error Source: https://github.com/futureverse/future/blob/develop/revdep/problems.md Reports an OPAL ERROR indicating that MPI was not initialized correctly, likely due to direct launch with 'srun' without PMI support. Rebuild Open MPI with PMI support. ```text [c4-n43:3099480] OPAL ERROR: Not initialized in file ext2x_client.c at line 112 -------------------------------------------------------------------------- The application appears to have been direct launched using "srun", but OMPI was not built with SLURM's PMI support and therefore cannot execute. There are several options for building PMI support under SLURM, depending upon the SLURM version you are using: version 16.05 or later: you can use SLURM's PMIx support. This requires that you configure and build SLURM --with-pmix. Versions earlier than 16.05: you must use either SLURM's PMI-1 or PMI-2 support. SLURM builds PMI-1 by default, or you can manually install PMI-2. You must then build Open MPI using --with-pmi pointing to the SLURM PMI library location. Please configure as appropriate and try again. -------------------------------------------------------------------------- ``` -------------------------------- ### Check Installed Package Size Note (spNetwork) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md Notes the installed size of the spNetwork package, highlighting large sub-directories. ```R installed size is 22.1Mb sub-directories of 1Mb or more: doc 1.9Mb extdata 4.1Mb libs 15.4Mb ``` -------------------------------- ### Run revdepcheck for pre-installation Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/notes.md Execute the revdepcheck script to pre-install specific packages or all dependent packages for offline testing. ```sh ## Used by R itself $ revdep/run.R --preinstall RCurl XML ``` ```sh $ scl enable devtoolset-4 "revdep/run.R --preinstall blavaan" ``` ```sh ## All packages to be tested $ revdep/run.R --preinstall-children ``` -------------------------------- ### Eager Future Strategy Source: https://github.com/futureverse/future/blob/develop/NEWS.md Demonstrates the correct syntax for specifying the 'eager' future strategy. Previously, plan(list("eager")) would cause an error. ```R plan("eager") ``` ```R plan(list(eager)) ``` -------------------------------- ### R Package Size Check: Large Installation Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_GLOBALS_ONREFERENCE=error/problems.md This note highlights that an installed R package exceeds a reasonable size, with specific sub-directories like 'doc' and 'libs' contributing significantly. Large package sizes can impact installation times and disk space usage. ```R installed size is 7.4Mb sub-directories of 1Mb or more: doc 1.0Mb libs 5.5Mb ``` ```R installed size is 107.4Mb sub-directories of 1Mb or more: help 2.3Mb libs 104.8Mb ``` ```R installed size is 38.3Mb sub-directories of 1Mb or more: libs 37.2Mb ``` -------------------------------- ### Squat Package Example Error Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This error occurred during the execution of examples in the 'squat' package, specifically related to the 'autoplot.qtsclust' function. The backtrace indicates an issue with the L2 metric in the 'fdacluster' package. ```R Running examples in ‘squat-Ex.R’ failed The error most likely occurred in: > ### Name: autoplot.qtsclust > ### Title: Plot for 'qtsclust' objects > ### Aliases: autoplot.qtsclust > > ### ** Examples > > ## Don't show: ... 3. │ ├─base::withVisible(eval(ei, envir)) 4. │ └─base::eval(ei, envir) 5. │ └─base::eval(ei, envir) 6. ├─squat::kmeans(vespa64$igp[1:10], n_clusters = 2) 7. └─squat:::kmeans.qts_sample(vespa64$igp[1:10], n_clusters = 2) 8. └─fdacluster::fdakmeans(...) 9. └─fdacluster:::check_option_compatibility(...) 10. └─cli::cli_abort("The L2 metric is neither dilation-invariant nor affine-invariant.") 11. └─rlang::abort(...) Execution halted ``` -------------------------------- ### Check Installed Package Size Note (Larger) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md Notes a larger installed size for an R package, detailing the significant sub-directories. ```R installed size is 20.5Mb sub-directories of 1Mb or more: libs 19.6Mb ``` -------------------------------- ### Setting Parallelism via Command Line Source: https://github.com/futureverse/future/blob/develop/NEWS.md Example of using the --parallel command line option to set the default future strategy. This option is a shorthand for -p

. ```bash --parallel=

``` -------------------------------- ### Multisession Futures Example Source: https://github.com/futureverse/future/blob/develop/README.md Demonstrates multisession futures, evaluated in background R sessions. Note that `pid` differs for futures evaluated in separate processes. ```r > plan(multisession, workers = 2) > pid <- Sys.getpid() > pid [1] 2974478 > a %<-% { + pid <- Sys.getpid() + cat("Future 'a' ...\n") + 3.14 + } > b %<-% { + rm(pid) + cat("Future 'b' ...\n") + Sys.getpid() + } > c %<-% { + cat("Future 'c' ...\n") + 2 * a + } Future 'a' ... > b Future 'b' ... Warning in rm(pid): object 'pid' not found [1] 2974536 > c Future 'c' ... [1] 6.28 > a [1] 3.14 > pid [1] 2974478 ``` -------------------------------- ### foieGras CRAN Installation Compilation Warnings and Errors Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/failures.md Similar to the devel installation, the CRAN installation of foieGras encountered compilation warnings and errors. These include issues with Eigen packet math, TMB/Matrix version conflicts, and a missing libproj.so.12 library, necessitating a re-installation of TMB from source. ```text ** package ‘foieGras’ successfully unpacked and MD5 sums checked ** using staged installation ** libs g++ -std=gnu++11 -I"/software/c4/cbi/software/R-4.1.2-gcc8/lib64/R/include" -DNDEBUG -I'/c4/home/henrik/repositories/future/revdep/library/foieGras/TMB/include' -I'/c4/home/henrik/repositories/future/revdep/library/foieGras/RcppEigen/include' -I/usr/local/include -fpic -g -O2 -c foieGras.cpp -o foieGras.o In file included from /c4/home/henrik/repositories/future/revdep/library/foieGras/RcppEigen/include/Eigen/Core:397, from /c4/home/henrik/repositories/future/revdep/library/foieGras/RcppEigen/include/Eigen/Dense:1, from /c4/home/henrik/repositories/future/revdep/library/foieGras/TMB/include/TMB.hpp:58, from foieGras.cpp:2: /c4/home/henrik/repositories/future/revdep/library/foieGras/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ignoring attributes on template argument ‘__m128’ {aka ‘__vector(4) float’} [-Wignored-attributes] ... TMB was built with Matrix version 1.3.4 Current Matrix version is 1.4.0 Please re-install 'TMB' from source using install.packages('TMB', type = 'source') or ask CRAN for a binary version of 'TMB' matching CRAN's 'Matrix' package Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/c4/home/henrik/repositories/future/revdep/library/foieGras/proj4/libs/proj4.so': libproj.so.12: cannot open shared object file: No such file or directory Calls: ... asNamespace -> loadNamespace -> library.dynam -> dyn.load Execution halted ERROR: lazy loading failed for package ‘foieGras’ * removing ‘/c4/home/henrik/repositories/future/revdep/checks/foieGras/old/foieGras.Rcheck/foieGras’ ``` -------------------------------- ### R Installation Size Note: Large 'libs' Directory Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_RESOLVED_TIMEOUT=0/problems.md This note highlights that the installed package size is large, with the 'libs' sub-directory exceeding 1MB. Optimize library sizes where possible. ```r installed size is 5.6Mb sub-directories of 1Mb or more: libs 5.1Mb ``` -------------------------------- ### Run Mandelbrot Demo with Multisession Evaluation Source: https://github.com/futureverse/future/blob/develop/README.md Runs the 'mandelbrot' demo utilizing multisession plan for parallel processing. Requires 'plan(multisession)'. ```r plan(multisession) demo("mandelbrot", package = "future", ask = FALSE) ``` -------------------------------- ### Check Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_PLAN=multisession/problems.md Notes that the installed size of an R package exceeds a certain threshold, with a breakdown of large sub-directories. ```R installed size is 6.4Mb sub-directories of 1Mb or more: libs 5.4Mb ``` -------------------------------- ### Configuring Nested Futures with Multicore Source: https://github.com/futureverse/future/blob/develop/NEWS.md Illustrates a configuration for forced, nested 'multicore' parallel processing. This setup previously caused child processes to attempt resolving parent process futures, leading to errors. ```R plan(list(tweak(multicore, workers = 2), tweak(multicore, workers = 2))) ``` -------------------------------- ### Create Low-Overhead Futures with minifuture() Source: https://github.com/futureverse/future/blob/develop/NEWS.md Use `minifuture()` for futures with less overhead than `future()`. Requires explicit specification of globals and packages, and does not relay conditions or standard output. ```R minifuture(expr, globals = ..., packages = ...) ``` -------------------------------- ### R Installed Package Size Note Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note provides information about the installed size of an R package and its sub-directories, highlighting those exceeding 1MB. ```R installed size is 8.6Mb sub-directories of 1Mb or more: data 1.5Mb doc 2.9Mb libs 1.1Mb www 2.1Mb ``` -------------------------------- ### Installed Package Size Note for CLVTools Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_GLOBALS_ONREFERENCE=error/problems.md This note details the installed size of the CLVTools package, specifically highlighting the size of its 'libs' subdirectory. ```R installed size is 12.5Mb sub-directories of 1Mb or more: libs 11.4Mb ``` -------------------------------- ### Installed Package Size Note (SpaDES.core) Source: https://github.com/futureverse/future/blob/develop/revdep/R_FUTURE_CONNECTIONS_ONMISUSE=error/problems.md This note reports the installed size of the 'SpaDES.core' package, with a significant portion residing in the 'R' directory. This may indicate an opportunity for size optimization. ```text installed size is 6.8Mb sub-directories of 1Mb or more: R 5.1Mb ```