Install a package from configured CRAN repositories.

oadmin.install_cran_package(opal, pkg, profile = NULL)

Arguments

opal

Opal object or list of opal objects.

pkg

Package name.

profile

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

Examples

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