require.or.install | R Documentation |
Install Missing Package
require.or.install(
name,
...,
install.fun = install.git,
load.fun = require,
require.name = name,
force = FALSE,
install.missing = TRUE,
version = branch,
branch = NULL,
libpath = "lib"
)
require.or.install.dev(name, url.pattern = file.package.pattern, ...)
name |
Name of the package |
... |
to be forwarded to install.fun |
install.fun |
Package installation function to use |
load.fun |
how should the package be attached 'library' or 'require' |
force |
force install |
install.missing |
should we install missing packages |
require.or.install
: Install specified package in case call to require
fails.
require.or.install.dev
: For development use. Installs package directly from directory not from remote repo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.