- using R Under development (unstable) (2012-02-04 r58267)
- using platform: i686-pc-linux-gnu (32-bit)
- using session charset: UTF-8
- checking for file ‘clustvarsel/DESCRIPTION’ ... OK
- this is package ‘clustvarsel’ version ‘1.3’
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... NOTE
As from R 2.14.0 all packages need a namespace.
One will be generated on installation, but it is better to handcraft a
NAMESPACE file: R CMD build will produce a suitable starting point.
- checking for executable files ... OK
- checking whether package ‘clustvarsel’ can be installed ... OK
- checking installed package size ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking for unstated dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... WARNING
‘library’ or ‘require’ call not declared from: ‘MASS’
- checking for left-overs from vignette generation ... WARNING
file ‘inst/doc/Rplots.ps’ will not be installed: please remove it
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... NOTE
The following files should probably not be installed:
‘chicago.bst’, ‘chicago.sty’
Consider the use of a .Rinstignore file: see ‘Writing R Extensions’,
or move the vignette sources from ‘inst/doc’ to ‘vignettes’.
- checking examples ... ERROR
Running examples in ‘clustvarsel-Ex.R’ failed
The error most likely occurred in:
> ### Name: clustvarsel
> ### Title: Variable selection for Model-Based Clustering
> ### Aliases: clustvarsel
> ### Keywords: cluster
>
> ### ** Examples
>
> #Create 3-d data with 2 clusters in the first two variables and no
> #clustering in the rest
> X<-matrix(0,200,3)
> colnames(X)<-1:3
> #clusters have mixing proportion pro, means mu1 and mu2 and variances
> #sigma1 and sigma2
> pro<-0.5
> mu1<-c(0,0)
> mu2<-c(3,3)
> sigma1<-matrix(c(1,0.5,0.5,1),2,2,byrow=TRUE)
> sigma2<-matrix(c(1.5,-0.7,-0.7,1.5),2,2,byrow=TRUE)
> u<-runif(200)
> library(MASS)
Error in library(MASS) : there is no package called ‘MASS’
Execution halted