Skip to contents

Install core or extended MomX packages from CRAN or GitHub. Gracefully handles packages that don't exist yet.

Usage

momx_install(
  which = c("core", "extended", "all"),
  from = c("cran", "github"),
  force = FALSE
)

momx_install_all_cran()

momx_install_core_cran()

momx_install_all_github()

momx_install_core_github()

Arguments

which

Which packages to install? "core" (default), "extended", or "all"

from

Source to install from: "cran" (default) or "github"

force

Force reinstallation even if packages are up to date?

Examples

if (FALSE) { # \dontrun{
# Install core packages from CRAN
momx_install()

# Install all packages from GitHub (development versions)
momx_install("all", from = "github")

# Force reinstall core packages
momx_install(force = TRUE)
} # }