Running 'Matrix-ex.R' [4s]
Running the tests in 'tests/Matrix-ex.R' failed.
Complete output:
  > ###################################################
  > ### chunk number 1: preliminaries
  > ###################################################
  > 
  > library(classGraph)
  
  Attaching package: 'classGraph'
  
  The following object is masked from 'package:graphics':
  
      plot
  
  The following object is masked from 'package:base':
  
      plot
  
  Warning messages:
  1: multiple methods tables found for 'plot' 
  2: found methods to import for function 'plot' but not the generic itself 
  > 
  > stopifnot(require("Matrix"),
  +           require("graph"))
  Loading required package: Matrix
  Loading required package: graph
  Loading required package: BiocGenerics
  Loading required package: parallel
  
  Attaching package: 'BiocGenerics'
  
  The following objects are masked from 'package:parallel':
  
      clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
      clusterExport, clusterMap, parApply, parCapply, parLapply,
      parLapplyLB, parRapply, parSapply, parSapplyLB
  
  The following object is masked from 'package:Matrix':
  
      which
  
  The following objects are masked from 'package:stats':
  
      IQR, mad, sd, var, xtabs
  
  The following objects are masked from 'package:base':
  
      Filter, Find, Map, Position, Reduce, anyDuplicated, append,
      as.data.frame, basename, cbind, colnames, dirname, do.call,
      duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
      lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
      pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
      tapply, union, unique, unsplit, which, which.max, which.min
  
  > 
  > allCl <- getClasses("package:Matrix")
  > ## Those called "...Matrix" :
  > M.Cl <- grep("Matrix$",allCl, value = TRUE)
  > 
  > str(M3cl <- grep("^...Matrix$",M.Cl, value = TRUE))
   chr [1:48] "indMatrix" "dppMatrix" "lgTMatrix" "ngRMatrix" "ltTMatrix" ...
  > 
  > M3cl <- M3cl[M3cl != "corMatrix"] # corMatrix not desired in following
  > 
  > 
  > 
  > 
  > 
  > ###################################################
  > ### chunk number 2: tree-Matrix
  > ###################################################
  > trMatrix <- classTree("Matrix") ; trMatrix
  A graphNEL graph with directed edges
  Number of Nodes = 75 
  Number of Edges = 151 
  > ## 2005-08: 58 nodes with 109 edges
  > ## 2007-01: 74 nodes with 151 edges
  > par(lwd = 0.3)# no effect --- learn to use Rgraphviz!!
  > plotRag(mRagraph(trMatrix), subArgs=.optRagargs(adj = 0.5))
  Error in as.double(y) : 
    cannot coerce type 'S4' to vector of type 'double'
  Calls: plotRag -> plot -> plot -> plot.default -> xy.coords
  Execution halted