* using log directory 'd:/Rcompile/CRANpkg/local/2.6/gmvalid.Rcheck' * using R version 2.6.2 RC (2008-02-04 r44320) * checking for file 'gmvalid/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'gmvalid' version '1.0' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'gmvalid' 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 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 cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking data for non-ASCII characters ... OK * creating gmvalid-Ex.R ... OK * checking examples ... ERROR Running examples in 'gmvalid-Ex.R' failed. The error most likely occurred in: > ### * gm.cv > > flush(stderr()); flush(stdout()) > > ### Name: gm.cv > ### Title: Cross Validation for Graphical (Chain) Models > ### Aliases: gm.cv > ### Keywords: models regression > > ### ** Examples > > > ABC <- gm.modelsim(500,"ABC,CD") > out <- gm.cv(5,data=ABC, strategy="f") Error in Edges[tmp[1], tmp[2]] <- 1 : subscript out of bounds Calls: gm.cv -> .gm.selectCV Execution halted