checkPlink checks that the PLINK software version 2.0 (https://www.cog-genomics.org/plink/2.0/) can be found from system call.
checkPlink2(path2plink2 = NULL)Path to PLINK version 2.0 executable.
[character] Absolute path to PLINK executable
(https://www.cog-genomics.org/plink/2.0/) i.e.
plink 2 should be accessible as path2plink -h. The full name of the executable
should be specified: for windows OS, this means path/plink.exe, for unix
platforms this is path/plink. If not provided, assumed that PATH set-up works
and PLINK will be found by exec('plink').