Learn R Programming

opalr (version 3.4.2)

dsadmin.install_local_package: Install a DataSHIELD package from a local archive file

Description

Install a package from a package archive file, resulting from the build of a server-side DataSHIELD package. This will upload the archive file and run its installation in the R server.

Usage

dsadmin.install_local_package(opal, path, profile = NULL)

Arguments

opal

Opal object or list of opal objects.

path

Path to the package archive, ending with .

profile

The DataSHIELD profile name to which operation applies. See also dsadmin.profiles.

See Also

Other DataSHIELD functions: dsadmin.get_method(), dsadmin.get_methods(), dsadmin.get_options(), dsadmin.install_github_package(), dsadmin.install_package(), dsadmin.installed_package(), dsadmin.package_description(), dsadmin.package_descriptions(), dsadmin.publish_package(), dsadmin.remove_package(), dsadmin.rm_method(), dsadmin.rm_methods(), dsadmin.rm_option(), dsadmin.rm_options(), dsadmin.rm_package_methods(), dsadmin.set_method(), dsadmin.set_option(), dsadmin.set_package_methods(), dsadmin.unpublish_package()

Examples

Run this code
if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# install a pre-built local archive file
dsadmin.install_local_package(o, '~/dsExposome_1.0.0.tar.gz')
# or build archive file from local package source (in current working folder)
dsadmin.install_local_package(o, devtools::build())
opal.logout(o)
}

Run the code above in your browser using DataLab