* using log directory 'd:/Rcompile/CRANpkg/local/3.2/Rsomoclu.Rcheck' * using R version 3.2.5 (2016-04-14) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'Rsomoclu/DESCRIPTION' ... OK * this is package 'Rsomoclu' version '1.7.2' * 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 'Rsomoclu' can be installed ... WARNING Found the following significant warnings: Warning: replacing previous import 'kohonen::somgrid' by 'class::somgrid' when loading 'Rsomoclu' See 'd:/Rcompile/CRANpkg/local/3.2/Rsomoclu.Rcheck/00install.out' for details. * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * 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 * loading checks for arch 'i386' ** 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 * loading checks for arch 'x64' ** 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 ... OK * 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... NOTE GNU make is a SystemRequirements. * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking compiled code ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'Rsomoclu-Ex.R' failed The error most likely occurred in: > ### Name: Rsomoclu.kohonen > ### Title: convert Somoclu train result to kohonen class for plotting > ### Aliases: Rsomoclu.kohonen > > ### ** Examples > > library('Rsomoclu') > library('kohonen') > data_file <- system.file("data", "rgbs.txt.gz", package = 'Rsomoclu') > input_data <- read.table(data_file) > input_data <- data.matrix(input_data) > nSomX <- 20 > nSomY <- 20 > nEpoch <- 10 > radius0 <- 0 > radiusN <- 0 > radiusCooling <- "linear" > scale0 <- 0 > scaleN <- 0.01 > scaleCooling <- "linear" > kernelType <- 0 > mapType <- "planar" > gridType <- "rectangular" > compactSupport <- FALSE > codebook <- NULL > neighborhood <- "gaussian" > stdCoeff <- 0.5 > res <- Rsomoclu.train(input_data, nEpoch, nSomX, nSomY, + radius0, radiusN, + radiusCooling, scale0, scaleN, + scaleCooling, + kernelType, mapType, gridType, compactSupport, + neighborhood, stdCoeff, codebook) > ## Convert to kohonen object for plotting > sommap = Rsomoclu.kohonen(input_data, res) Error in if (maxNA.fraction > 0L) { : argument is of length zero Calls: Rsomoclu.kohonen -> map -> map.kohonen -> getnNA Execution halted ** running examples for arch 'x64' ... ERROR Running examples in 'Rsomoclu-Ex.R' failed The error most likely occurred in: > ### Name: Rsomoclu.kohonen > ### Title: convert Somoclu train result to kohonen class for plotting > ### Aliases: Rsomoclu.kohonen > > ### ** Examples > > library('Rsomoclu') > library('kohonen') > data_file <- system.file("data", "rgbs.txt.gz", package = 'Rsomoclu') > input_data <- read.table(data_file) > input_data <- data.matrix(input_data) > nSomX <- 20 > nSomY <- 20 > nEpoch <- 10 > radius0 <- 0 > radiusN <- 0 > radiusCooling <- "linear" > scale0 <- 0 > scaleN <- 0.01 > scaleCooling <- "linear" > kernelType <- 0 > mapType <- "planar" > gridType <- "rectangular" > compactSupport <- FALSE > codebook <- NULL > neighborhood <- "gaussian" > stdCoeff <- 0.5 > res <- Rsomoclu.train(input_data, nEpoch, nSomX, nSomY, + radius0, radiusN, + radiusCooling, scale0, scaleN, + scaleCooling, + kernelType, mapType, gridType, compactSupport, + neighborhood, stdCoeff, codebook) > ## Convert to kohonen object for plotting > sommap = Rsomoclu.kohonen(input_data, res) Error in if (maxNA.fraction > 0L) { : argument is of length zero Calls: Rsomoclu.kohonen -> map -> map.kohonen -> getnNA Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... ERROR Running the tests in 'tests/R_interface_test.R' failed. Last 13 lines of output: [43,] 5.035841e-03 1.305773e-02 1.658310e-02 9.804307e-03 8.633234e-03 [44,] 1.558965e-02 1.184474e-02 4.408542e-03 2.627651e-04 1.862645e-10 [45,] 1.450713e-02 4.311038e-03 2.330044e-10 2.328306e-10 1.862645e-10 [46,] 1.211147e-02 4.002075e-03 4.806931e-14 3.322632e-26 3.611281e-38 [47,] 1.122478e-02 7.034095e-03 2.624495e-12 1.814681e-24 2.006943e-36 [48,] 9.293744e-03 9.075298e-03 1.432926e-10 9.907823e-23 1.096098e-34 [49,] 9.187630e-03 9.183498e-03 8.730725e-09 5.409489e-21 5.984537e-33 [50,] 9.798002e-03 9.797907e-03 1.396504e-08 8.652331e-21 9.970943e-33 > library('kohonen') > sommap = Rsomoclu.kohonen(input_data, res) Error in if (maxNA.fraction > 0L) { : argument is of length zero Calls: Rsomoclu.kohonen -> map -> map.kohonen -> getnNA Execution halted ** running tests for arch 'x64' ... ERROR Running the tests in 'tests/R_interface_test.R' failed. Last 13 lines of output: [43,] 1.223900e-02 8.642293e-03 8.385248e-03 8.385248e-03 8.944266e-03 [44,] 1.643466e-02 8.464073e-03 8.385262e-03 8.385256e-03 8.944266e-03 [45,] 1.006538e-02 1.083883e-03 9.619365e-09 9.625813e-09 3.363078e-09 [46,] 9.552678e-03 3.248627e-03 1.036568e-06 7.799827e-09 1.862645e-10 [47,] 6.303675e-03 7.552976e-03 2.165550e-03 6.479096e-04 3.664326e-05 [48,] 3.939970e-03 7.668236e-03 5.878221e-03 4.351663e-03 3.998658e-03 [49,] 2.659741e-03 5.515851e-03 4.496630e-03 3.124573e-03 3.998659e-03 [50,] 2.828418e-03 5.656863e-03 2.829117e-03 3.665580e-05 6.107147e-05 > library('kohonen') > sommap = Rsomoclu.kohonen(input_data, res) Error in if (maxNA.fraction > 0L) { : argument is of length zero Calls: Rsomoclu.kohonen -> map -> map.kohonen -> getnNA Execution halted * checking PDF version of manual ... OK * DONE Status: 4 ERRORs, 1 WARNING, 1 NOTE