install_mendel: Download the mendel binary and install it where CKMRpop...

View source: R/mendel-install.R

install_mendelR Documentation

Download the mendel binary and install it where CKMRpop expects it

Description

This checks the operating system and installs the correct version of mendel for you operating system (Mac, Linux, or Windows). To install the binary it downloads it from Eric's mbin repo on GitHub. It also installs in the same directory an intel libiomp DLL on Windows.

Usage

install_mendel(Dir = tempfile())

Arguments

Dir

the directory to install mendel 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 mendel, this parameter must be set to system.file(package = "CKMRsim").

Value

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

Examples

## Not run: 
install_mendel(Dir = system.file(package = "CKMRsim"))

## End(Not run)

eriqande/CKMRsim documentation built on Aug. 2, 2024, 7:23 a.m.