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.

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

if (FALSE) {
install_mendel(Dir = system.file(package = "CKMRsim"))
}