* using log directory 'd:/Rcompile/CRANpkg/local/2.10/adegenet.Rcheck' * using R version 2.10.1 (2009-12-14) * using session charset: ISO8859-1 * checking for file 'adegenet/DESCRIPTION' ... OK * this is package 'adegenet' version '1.2-6' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'adegenet' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level 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 for unstated 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 ... NOTE chooseCN: no visible global function definition for 'tri2nb' chooseCN: no visible global function definition for 'gabrielneigh' chooseCN: no visible global function definition for 'graph2nb' chooseCN: no visible global function definition for 'relativeneigh' chooseCN: no visible global function definition for 'dnearneigh' chooseCN: no visible global function definition for 'knearneigh' chooseCN: no visible global function definition for 'knn2nb' chooseCN: no visible global function definition for 'nb2listw' chooseCN: no visible global function definition for 'mat2listw' plot.spca: no visible global function definition for 'card' spca: no visible global function definition for 'mat2listw' spca: no visible global function definition for 'nb2listw' summary.spca: no visible global function definition for 'listw2mat' summary.spca: no visible binding for global variable 'lag.listw' * 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 data for non-ASCII characters ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking for portable use of $BLAS_LIBS ... OK * checking examples ... ERROR Running examples in 'adegenet-Ex.R' failed. The error most likely occurred in: > ### * chooseCN > > flush(stderr()); flush(stdout()) > > ### Name: chooseCN > ### Title: Function to choose a connection network > ### Aliases: chooseCN > ### Keywords: spatial utilities > > ### ** Examples > > data(nancycats) > if(require(spdep) & require(ade4)){ + + par(mfrow=c(2,2)) + cn1 <- chooseCN(nancycats@other$xy,ask=FALSE,type=1) + cn2 <- chooseCN(nancycats@other$xy,ask=FALSE,type=2) + cn3 <- chooseCN(nancycats@other$xy,ask=FALSE,type=3) + cn4 <- chooseCN(nancycats@other$xy,ask=FALSE,type=4) + par(mfrow=c(1,1)) + } Loading required package: spdep Error: package 'sp' required by 'spdep' could not be found Execution halted