Running ‘donttestexamples.R’ [2s/3s]
Running the tests in ‘tests/donttestexamples.R’ failed.
Complete output:
  > library(prabclus)
  Loading required package: MASS
  Loading required package: mclust
  Package 'mclust' version 5.4
  Type 'citation("mclust")' for citing this R package in publications.
  > 
  > # example(prabclust)
  > data(kykladspecreg)
  > data(nb)
  > set.seed(1234)
  > x <- prabinit(prabmatrix=kykladspecreg, neighborhood=nb)
  > # If you want to use your own ASCII data files, use
  > # x <- prabinit(file="path/prabmatrixfile",
  > # neighborhood="path/neighborhoodfile")
  > print(prabclust(x))
  * Clustered presence-absence matrix * 
  
  Clustered:  4 -dim. MDS result from method  classical 
  
  Noise-detector NNclean has been used with k= 2 
  NNclean is explained in S. Byers and A. E. Raftery, JASA 95 (1998), 781-794
  A Normal mixture model with noise component (mclust) has been used.
  Mixture component memberships:
   [1] 0 1 3 4 4 3 7 0 8 0 4 0 0 2 1 7 7 3 2 0 0 3 2 1 2 6 7 6 5 1 5 6 0 7 1 0 0 1
  [39] 0 3 1 4 5 5 6 0 1 5 4 1 8 0 0 2 6 5 8 2 0 3 2 1 6 8 0 5 4 2 4 5 0 1 8 2 3 3
  [77] 4 6 0 7
  
  Clustering (N denotes noise or one-point components):
   [1] "N" "1" "3" "4" "4" "3" "7" "N" "8" "N" "4" "N" "N" "2" "1" "7" "7" "3" "2"
  [20] "N" "N" "3" "2" "1" "2" "6" "7" "6" "5" "1" "5" "6" "N" "7" "1" "N" "N" "1"
  [39] "N" "3" "1" "4" "5" "5" "6" "N" "1" "5" "4" "1" "8" "N" "N" "2" "6" "5" "8"
  [58] "2" "N" "3" "2" "1" "6" "8" "N" "5" "4" "2" "4" "5" "N" "1" "8" "2" "3" "3"
  [77] "4" "6" "N" "7"
  Warning message:
  In attr(skem, "initialization")$noise[ospecies] <- attr(skembest,  :
    number of items to replace is not a multiple of replacement length
  > 
  > # Here is an example for species delimitation with codominant markers;
  > # only 50 individuals were used in order to have a fast example. 
  > data(tetragonula)
  > ta <- alleleconvert(strmatrix=tetragonula[1:50,])
  > tai <- alleleinit(allelematrix=ta)
  > print(prabclust(tai))
  Error in meEII(data = data, z = z[, K], prior = prior, control = control,  : 
    NA/NaN/Inf in foreign function call (arg 6)
  Calls: print ... prabclust -> mclustBIC -> me -> eval -> eval -> meEII
  Execution halted