CRAN Package Check Results for Package SOMbrero

Last updated on 2017-10-20 20:46:41.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2-2 1.71 58.40 60.10 OK
r-devel-linux-x86_64-debian-gcc 1.2-2 1.88 56.64 58.53 ERROR
r-devel-linux-x86_64-fedora-clang 1.2-2 112.86 OK
r-devel-linux-x86_64-fedora-gcc 1.2-2 111.88 OK
r-devel-windows-ix86+x86_64 1.2-2 9.00 118.00 127.00 OK
r-patched-linux-x86_64 1.2-2 1.85 53.57 55.42 OK
r-patched-solaris-x86 1.2-2 143.80 OK
r-release-linux-x86_64 1.2-2 1.71 53.98 55.69 OK
r-release-windows-ix86+x86_64 1.2-2 8.00 123.00 131.00 OK
r-release-osx-x86_64 1.2-2 OK
r-oldrel-windows-ix86+x86_64 1.2-2 6.00 109.00 115.00 OK
r-oldrel-osx-x86_64 1.2-2 OK

Check Details

Version: 1.2-2
Check: tests
Result: ERROR
     Running ‘euclidian-relational-test.R’ [1s/1s]
     Running ‘prediction-test.R’ [1s/1s]
    Running the tests in ‘tests/prediction-test.R’ failed.
    Complete output:
     > ## Check that predict.somRes works fine
     > # (i.e., predictions are identical to the final clustering for training data)
     >
     > library(SOMbrero)
     Loading required package: knitr
     Loading required package: igraph
    
     Attaching package: 'igraph'
    
     The following objects are masked from 'package:stats':
    
     decompose, spectrum
    
     The following object is masked from 'package:base':
    
     union
    
    
     ***********************************************************
    
     This is 'SOMbrero' package, v 1.2
    
     Citation details with citation('SOMbrero')
    
     Further information with help(SOMbrero)...
    
     Use sombreroGUI() to start the Graphical Interface.
    
     Warning! This package has been implemented (mostly) by girls.
     Default colors may not be suited for men.
    
     ***********************************************************
     > data(lesmis)
     > data(presidentielles2002)
     >
     > nsom <- trainSOM(iris[1:30,1:4], maxit=10, scaling= "none")
     > stopifnot(identical(predict(nsom, iris[1:30,1:4]), nsom$clustering))
     > stopifnot(predict(nsom, iris[1,1:4])==nsom$clustering[1])
     > stopifnot(identical(predict(nsom), nsom$clustering))
     >
     > nsom <- trainSOM(iris[1:30,1:4], maxit=10, scaling= "center")
     > stopifnot(identical(predict(nsom, iris[1:30,1:4]), nsom$clustering))
     > stopifnot(predict(nsom, iris[1,1:4])==nsom$clustering[1])
     > stopifnot(identical(predict(nsom), nsom$clustering))
     >
     > nsom <- trainSOM(iris[1:30,1:4], maxit=10, scaling= "unitvar")
     > stopifnot(identical(predict(nsom, iris[1:30,1:4]), nsom$clustering))
     > stopifnot(predict(nsom, iris[1,1:4])==nsom$clustering[1])
     > stopifnot(identical(predict(nsom), nsom$clustering))
     >
     > rsom <- trainSOM(dissim.lesmis, type="relational", maxit=10, scaling= "none")
     > stopifnot(identical(predict(rsom, dissim.lesmis), rsom$clustering))
     > stopifnot(predict(rsom, dissim.lesmis[1,])==rsom$clustering[1])
     > stopifnot(identical(predict(rsom), rsom$clustering))
     >
     > rsom <- trainSOM(dissim.lesmis, type="relational", maxit=10,
     + radius.type="letremy")
     > stopifnot(identical(predict(rsom, dissim.lesmis), rsom$clustering))
     > stopifnot(predict(rsom, dissim.lesmis[1,])==rsom$clustering[1])
     > stopifnot(identical(predict(rsom), rsom$clustering))
     >
     > rsom <- trainSOM(dissim.lesmis, type="relational", maxit=10,
     + affectation="heskes")
     > stopifnot(identical(predict(rsom, dissim.lesmis), rsom$clustering))
     > stopifnot(predict(rsom, dissim.lesmis[1,])==rsom$clustering[1])
     > stopifnot(identical(predict(rsom), rsom$clustering))
     >
     > rsom <- trainSOM(dissim.lesmis, type="relational", maxit=10,
     + affectation="heskes", radius.type="letremy")
     > stopifnot(identical(predict(rsom, dissim.lesmis), rsom$clustering))
     Error: identical(predict(rsom, dissim.lesmis), rsom$clustering) is not TRUE
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc