Skip to contents

[Experimental]
Installation convenience function. Helps with Giotto Suite installation from the GitHub website by ensuring modules are installed in the correct order. Also automatically switches to the R4.4.0 version when user R version is lower than 4.4.1.

This utility will do a full reinstall of the specified Giotto Suite modules but non-Suite dependencies will never prompt to be updated.

Usage

suite_install(modules = suite_packages(), suite_deps = TRUE, ref = "main", ...)

Arguments

modules

character. Which modules to install. Defaults to the core packages needed for Giotto to run.

suite_deps

logical. Whether to install any potential Giotto Suite dependency modules

ref

character. Currently one of "main", "R4.4.0", or "dev". These determine which branches to install. See details.

...

additional params to pass to remotes::install_github()

ref "main"

Installs the main Giotto version. This version is expected to chase the highest R version.

ref "R4.4.0"

Mirrors the main branch, but locks the R version at 4.4.0

ref "dev"

This version is ahead of the main version and also chases the latest R version.

Examples

if (FALSE) {
    # install core packages
    suite_install()
    suite_install("GiottoClass", ref = "dev")

    # install ONLY Giotto, ignoring module dependencies
    # (i.e. GiottoVisuals, GiottoClass, etc)
    suite_install("Giotto", suite_deps = FALSE)
}