Install package from CRAN repos. To install the latest version of a package, it has to be removed first.

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

Arguments

opal

Opal object or list of opal objects.

pkg

Package name.

repos

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

profile

The R servers profile name to which operation applies. See also opal.profiles.

Value

TRUE if successfully installed

Examples

if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
oadmin.install_package(o, 'xxx')
opal.logout(o)
}