Learn R Programming

fz (version 1.2.0)

install: Install a Model or Algorithm (generic)

Description

Generic alias: installs a model from a GitHub name, URL, or local zip file. Equivalent to install_model.

Usage

install(source, global = FALSE)

Value

Named list with installation details.

Arguments

source

GitHub name (e.g. "Funz/Model-PerfectGas"), URL, or path to a local zip file.

global

Logical; install system-wide instead of user-level. Default FALSE.

Examples

Run this code
if (FALSE) {
# Requires the named GitHub repository to exist and network access;
# not run automatically since neither is guaranteed in all environments.
install("Funz/Model-PerfectGas")
}

Run the code above in your browser using DataLab