* using log directory 'd:/Rcompile/CRANpkg/local/3.4/popRange.Rcheck' * using R version 3.4.4 (2018-03-15) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'popRange/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'popRange' version '1.1.3' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'popRange' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... NOTE Malformed Description field: should contain one or more complete sentences. * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [3s] NOTE popRangeSim: no visible global function definition for 'write.table' Undefined global functions or variables: write.table Consider adding importFrom("utils", "write.table") to your NAMESPACE file. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'popRange-Ex.R' failed The error most likely occurred in: > ### Name: popRangeSim > ### Title: popRangeSim > ### Aliases: popRangeSim > > ### ** Examples > > ## Example: In this scenario, we are simulating a 3x3 grid of populations for 50 > ## generations. Each population starts with 100 diploid individuals. Each individual > ## has a 0.01 probability of migrating away from their populations. There are 100 > ## SNPs that all have a starting frequency of 0.5, and the program outputs the standard > ## "results" file, as well as a PLINK file. > > ## Commands > > mat = matrix(1,nrow=3,ncol=3) > popRangeSim(world = mat, popSize = 100, diploid = TRUE, nGens = 50, + mig = 0.01, SNP_model = 0, nSNPs = 100, SNPs_starting_freq = 0.5, + outfile= "outFile1", PLINK=TRUE) Error in find_python_cmd(minimum_version = minimum_version, maximum_version = maximum_version, : Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary') or set the PYTHON, PYTHON2, or PYTHON3 environmental variables. Python must be at least version 2.7 Python must be at most version 3.4 Python must have access to the modules: numpy [1] "Could not find an acceptable version of python with numpy installed. This should be able to locate python \n anywhere on your computer, but perhaps try adding python to your PATH if you think this message is an error." Error in popRangeSim(world = mat, popSize = 100, diploid = TRUE, nGens = 50, : Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs