oadmin.install_package: Install CRAN package

View source: R/opal.admin.R

oadmin.install_packageR Documentation

Install CRAN package

Description

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

Usage

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

See Also

Other administration functions: oadmin.install_bioconductor_package(), oadmin.install_cran_package(), oadmin.install_devtools(), oadmin.install_github_package(), oadmin.install_local_package(), oadmin.installed_devtools(), oadmin.installed_packages(), oadmin.installed_package(), oadmin.package_description(), oadmin.remove_package()

Examples

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
oadmin.install_package(o, 'xxx')
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 6, 2023, 5:08 p.m.