postInstall: code to run after installing a new version of this package.

Description Usage Arguments Details Author(s)

Description

code to run after installing a new version of this package.

Usage

1
postInstall(root = "/")

Arguments

root

character scalar path to root of installation. Default: "/" This parameter allows testing the function without clobbering system files. e.g. specifying root="/tmp/PItest" will create the folder "/tmp/PItest" and then install the root_overlay files there.

Details

After (re-)installing the motusServer package, this function is executed to install files outside the R package tree, and set ownership and permissions appropriately. Details of which files are installed is in the file inst/root_overlay.md

If you install the motusServer R package using this command line:

sudo su -c 'cd /home/sg/src/motusServer; /usr/local/bin/rpack -g .' sg

then this function will be run by that script. Otherwise, you can do so manually from the shell like this:

Rscript -e 'motusServer:::postInstall()'

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.