[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

HELP: Test suite error with latest version of r-cran-fpc



Hi,

I tried to upgrade r-cran-fpc to version 2.2-3.  When running the autopkgtest
I get:


Method  fuzzy  was used.
Number of representative FPCs:  3 

FPCs with less than  3  points were skipped.
FPCs with ratio of times found to number of points less than  0.1  were skipped.
0  iteration runs led to  0  skipped clusters.
  Weight 1 for r^2<=  3.84  weight 0 for r^2>  7.88  
  Constant ca=  3.84  corresponding to alpha=  0.95 

 FPC  1 
  Times found (group members):  4 
  Ratio to size:  1.33 
  Mean:
[1] 6.33
  Covariance matrix:
      [,1]
[1,] 0.222
  Number of points (sum of weights):  3 

 FPC  2 
  Times found (group members):  3 
  Ratio to size:  1 
  Mean:
[1] 2
  Covariance matrix:
      [,1]
[1,] 0.667
  Number of points (sum of weights):  3 

 FPC  3 
  Times found (group members):  2 
  Ratio to size:  0.286 
  Mean:
[1] 4.71
  Covariance matrix:
     [,1]
[1,]  6.2
  Number of points (sum of weights):  7 

Number of points (rounded weights) in intersection of representative FPCs
     [,1] [,2] [,3]
[1,]    3    0    3
[2,]    0    3    3
[3,]    3    3    7
> 
> set.seed(776655)
> v1 <- rnorm(100)
> v2 <- rnorm(100)
> d1 <- sample(1:5,100,replace=TRUE)
> d2 <- sample(1:4,100,replace=TRUE)
> ldata <- cbind(v1,v2,d1,d2)
> fr <- flexmixedruns(ldata,
+     continuous=2,discrete=2,simruns=1,initial.cluster=c(rep(1,5),rep(2,45),
+                                         rep(3,50)),
+                     control=list(minprior=0.1),
+                     n.cluster=3,allout=FALSE)
k=  3  flexmix error in run  1  
Error in flexout[[optimalk]] : 
  attempt to select less than one element in get1index <real>
Calls: flexmixedruns -> summary


Strangely enough this only occures in the autopkgtest chroot but
not on my local machine.  This is usually a sign for a missing
test-depends.  Any idea what this might be?

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: