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.

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

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

Examples

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) }