Learn R Programming

ggeffects (version 1.7.2)

install_latest: Update latest ggeffects-version from R-universe (GitHub) or CRAN

Description

This function can be used to install the latest package version of ggeffects, either the development version (from R-universe/GitHub) or the current version from CRAN.

Usage

install_latest(
  source = c("development", "cran"),
  force = FALSE,
  verbose = TRUE
)

Value

Invisible NULL.

Arguments

source

Character. Either "development" or "cran". If "cran", ggeffects will be installed from the default CRAN mirror returned by getOption("repos")['CRAN']. If "development" (the default), ggeffects is installed from the r-universe repository (https://strengejacke.r-universe.dev/).

force

Logical, if FALSE, the update will only be installed if a newer version is available. Use force=TRUE to force installation, even if the version number for the locally installed package is identical to the latest development-version. Only applies when source="development".

verbose

Toggle messages.

Examples

Run this code
if (FALSE) {
# install latest development-version of ggeffects from the
# r-universe repository
install_latest()
}

Run the code above in your browser using DataLab