opalr (version 1.4.1)

oadmin.install_package: Install package

Description

Install package if not already available in Opal(s). To install the latest version of a package, it has to be removed first.

Usage

oadmin.install_package(opal, pkg, repos = NULL)

Arguments

opal

Opal object or list of opal objects.

pkg

Package name.

repos

Character vector, the base URLs of the repositories to use.

Value

TRUE if successfully installed

See Also

Other administration functions: oadmin.install_devtools(), oadmin.install_github(), oadmin.installed_devtools(), oadmin.installed_packages(), oadmin.installed_package(), oadmin.package_description(), oadmin.remove_package()

Examples

Run this code
# NOT RUN {
o <- opal.login('administrator','password','https://opal-demo.obiba.org')
oadmin.install_package(o, 'xxx')
opal.logout(o)
# }

Run the code above in your browser using DataLab