* using log directory 'd:/Rcompile/CRANpkg/local/2.13/CoClust.Rcheck' * using R version 2.13.2 (2011-09-30) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'CoClust/DESCRIPTION' ... OK * this is package 'CoClust' version '0.2-0' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'CoClust' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for portable file names ... 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 whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace 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 ... NOTE stima_cop: possible error in loglikCopula(fitfin@estimate, udat, copulah, hideWarnings = TRUE): unused argument(s) (hideWarnings = TRUE) * 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 ... OK * checking examples ... ERROR Running examples in 'CoClust-Ex.R' failed The error most likely occurred in: > ### Name: CoClust > ### Title: Copula-Based Clustering Algorithm > ### Aliases: CoClust > ### Keywords: cluster multivariate > > ### ** Examples > > ## ****************************************************************** > ## 1. build a 3-variate copula with different margins > ## (Gaussian, Gamma, Beta) > ## > ## 2. generate a data matrix xm with 15 rows and 21 columns and build > ## the matrix of the true cluster indexes > ## > ## 3. apply the CoClust to the rows of xm and recover the multivariate > ## dependence structure of the data > ## ****************************************************************** > > ## Step 1. ********************************************************** > n <- 105 # total number of observations > n.col <- 21 # number of columns of the data matrix m > n.marg <- 3 # dimension of the copula > n.row <- n*n.marg/n.col # number of rows of the data matrix m > > theta <- 10 > copula <- frankCopula(theta, dim = n.marg) > mymvdc <- mvdc(copula, c("norm", "gamma", "beta"),list(list(mean=7, sd=2), + list(shape=3, rate=4, scale=1/4), list(shape1=2, shape2=1))) > > ## Step 2. ********************************************************** > set.seed(11) > x.samp <- rmvdc(mymvdc, n) > xm <- matrix(x.samp, nrow = n.row, ncol = n.col, byrow=TRUE) > > index.true <- matrix(1:15,5,3) > colnames(index.true) <- c("Cluster 1","Cluster 2", "Cluster 3") > > ## Step 3. ********************************************************** > clust <- CoClust(xm, dimset = 2:4, nk=8, copula="frank", + method.ma="empirical", method.c="ml",writeout=1) Error in loglikCopula(fitfin@estimate, udat, copulah, hideWarnings = TRUE) : unused argument(s) (hideWarnings = TRUE) Calls: CoClust -> CoClust_perm -> stima_cop -> loglikCopula Execution halted