CRAN Package Check Results for Package RWeka

Last updated on 2015-01-28 12:48:10.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-24 2.11 34.80 36.91 OK
r-devel-linux-x86_64-debian-gcc 0.4-24 2.00 33.87 35.87 OK
r-devel-linux-x86_64-fedora-clang 0.4-24 44.16 OK
r-devel-linux-x86_64-fedora-gcc 0.4-24 41.99 OK
r-devel-osx-x86_64-clang 0.4-24 57.69 OK
r-devel-windows-ix86+x86_64 0.4-24 9.00 51.00 60.00 ERROR
r-patched-linux-x86_64 0.4-24 2.24 38.15 40.40 OK
r-patched-solaris-sparc 0.4-24 389.60 OK --no-examples --no-vignettes
r-patched-solaris-x86 0.4-24 90.90 OK --no-examples --no-vignettes
r-release-linux-ix86 0.4-23 2.72 44.49 47.20 OK
r-release-linux-x86_64 0.4-24 2.32 37.96 40.28 OK
r-release-osx-x86_64-mavericks 0.4-24 OK
r-release-osx-x86_64-snowleopard 0.4-24 OK
r-release-windows-ix86+x86_64 0.4-24 6.00 43.00 49.00 ERROR
r-oldrel-windows-ix86+x86_64 0.4-24 6.00 38.00 44.00 ERROR

Check Details

Version: 0.4-24
Check: examples
Result: ERROR
    Running examples in 'RWeka-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: Weka_classifier_trees
    > ### Title: R/Weka Classifier Trees
    > ### Aliases: Weka_classifier_trees J48 LMT M5P DecisionStump plot.Weka_tree
    > ### parse_Weka_digraph
    > ### Keywords: models regression classif tree
    >
    > ### ** Examples
    >
    > m1 <- J48(Species ~ ., data = iris)
    >
    > ## print and summary
    > m1
    J48 pruned tree
    ------------------
    
    Petal.Width <= 0,6: setosa (50.0)
    Petal.Width > 0,6
    | Petal.Width <= 1,7
    | | Petal.Length <= 4,9: versicolor (48.0/1.0)
    | | Petal.Length > 4,9
    | | | Petal.Width <= 1,5: virginica (3.0)
    | | | Petal.Width > 1,5: versicolor (3.0/1.0)
    | Petal.Width > 1,7: virginica (46.0/1.0)
    
    Number of Leaves : 5
    
    Size of the tree : 9
    
    > summary(m1) # calls evaluate_Weka_classifier()
    
    === Summary ===
    
    Correctly Classified Instances 147 98 %
    Incorrectly Classified Instances 3 2 %
    Kappa statistic 0,97
    Mean absolute error 0,0233
    Root mean squared error 0,108
    Relative absolute error 5,2482 %
    Root relative squared error 22,9089 %
    Coverage of cases (0,95 level) 98,6667 %
    Mean rel. region size (0,95 level) 34 %
    Total Number of Instances 150
    
    === Confusion Matrix ===
    
     a b c <-- classified as
     50 0 0 | a = setosa
     0 49 1 | b = versicolor
     0 2 48 | c = virginica
    > table(iris$Species, predict(m1)) # by hand
    
     setosa versicolor virginica
     setosa 50 0 0
     versicolor 0 49 1
     virginica 0 2 48
    >
    > ## visualization
    > ## use partykit package
    > if(require("partykit", quietly = TRUE)) plot(m1)
    Warning in unique(as.numeric(sapply(split, tail, 1))) :
     NAs introduced by coercion
    Error: length(breaks) == 1 && !is.na(breaks) is not TRUE
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.4-24
Check: tests
Result: ERROR
    Running the tests in 'tests/data_exchange.R' failed.
    Last 13 lines of output:
     3 l 3 3 0.3 2012-12-12 12:12:12
     4 <NA> 1 0.0 2012-12-12 12:12:12
     5 l 2 <NA> 1.0 2012-12-12 12:12:12
     6 l 3 3 NA <NA>
     >
     > temp <- tempfile()
     > write.arff(x, temp)
     >
     > xx <- read.arff(temp)
     Error in .jnew("weka/core/Instances", .jcast(reader, "java/io/Reader")) :
     java.io.IOException: unparseable date: 3, read Token[3], line 11
     Calls: read.arff -> .jnew -> .External
     Execution halted
Flavor: r-devel-windows-ix86+x86_64