* using log directory 'd:/Rcompile/CRANpkg/local/2.12/LLdecomp.Rcheck' * using R version 2.12.2 (2011-02-25) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'LLdecomp/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'LLdecomp' version '1.0' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'LLdecomp' can be installed ... 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 name space can be loaded with stated dependencies ... OK * checking whether the name space 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 ... OK * checking examples ... ERROR Running examples in 'LLdecomp-Ex.R' failed The error most likely occurred in: > ### Name: LLdecomp-package > ### Title: The main function "decompfit" decomposes discrete variable into > ### cliques and separators. > ### Aliases: LLdecomp-package LLdecomp > ### Keywords: package > > ### ** Examples > > ## Data generation where the first and second variables are dependent. > data1 <- matrix(NA,nrow=200,ncol=5) > data1[,-1] <- sample(c(0,1),200*4,replace=TRUE) > prob <- data1[,2]*0.6+0.2 > data1[,1] <- rbinom(200,1,prob) > > dfit <- decompfit(data1,3) Error in as.adjMAT(object) : Must be a graphNEL object... Calls: decompfit ... triangulate.graphNEL -> triangulateMAT -> triangR -> as.adjMAT Execution halted