opalr (version 1.5.2)

oadmin.install_local_package: Install a package from a local archive file

Description

Install a package from a package archive file. This will upload the archive file and run its installation in the R server.

Usage

oadmin.install_local_package(opal, path)

Arguments

opal

Opal object or list of opal objects.

path

Path to the package archive file.

See Also

Other administration functions: oadmin.install_bioconductor_package(), oadmin.install_devtools(), oadmin.install_github_package(), oadmin.install_github(), oadmin.install_package(), 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', url='https://opal-demo.obiba.org')
# install a pre-built local archive file
oadmin.install_local_package(o, '~/Rserve_1.8-7.tar.gz')
# or build archive file from local package source (in current working folder)
oadmin.install_local_package(o, devtools::build())
opal.logout(o)
# }

Run the code above in your browser using DataLab