package.install: package.install - a function to install packages required for...

View source: R/package.install.R

package.installR Documentation

package.install - a function to install packages required for Spectre.

Description

This function allows you to check to see if all the common use packages dependencies for Spectre are installed. Will only install if the package has not been installed, will not update packages.

Usage

See https://sydneycytometry.org.au/spectre for usage instructions and vignettes.

Arguments

type

DEFAULT = "general". If "general", then checks for the packages required for general Spectre usage. If "spatial", then checks for additional packages required for spatial analysis.

update

DEFAULT = FALSE. If FALSE, will only install packages that are not already installed – no updates of packages will be performed. If TRUE, will install and update packages.

Value

returns an error message if one of the common use packages are not installed. Proceeds in order of package importance, and only the first error message encountered will be returned.

Author(s)

Thomas M Ashhurst, thomas.ashhurst@sydney.edu.au

References

https://sydneycytometry.org.au/spectre

Examples

package.install()
package.install(type = 'spatial')


ImmuneDynamics/Spectre documentation built on Nov. 12, 2023, 8:12 a.m.