install_spip: Download the spip binary and install it where CKMRpop expects...

View source: R/install_spip.R

install_spipR Documentation

Download the spip binary and install it where CKMRpop expects it

Description

This checks the operating system and installs the correct version (either Darwin or Linux for Mac or Linux, respectively.) To install the spip binary this function downloads it from its GitHub site. It also installs a windows implementation of awk.

Usage

install_spip(Dir = tempfile())

Arguments

Dir

the directory to install spip into. Because of restrictions on functions writing to the user's home filespace, this is set, by default, to a temporary directory. But to really use this function to install spip, this parameter must be set to system.file(package = "CKMRpop").

Value

No return value. Called for side effect of installing the 'spip' binary.

Examples

## Not run: 
install_spip(Dir = system.file(package = "CKMRpop"))

## End(Not run)

eriqande/CKMRpop documentation built on Jan. 25, 2024, 2:10 p.m.