* using log directory 'd:/Rcompile/CRANpkg/local/2.12/grpreg.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 'grpreg/DESCRIPTION' ... OK * this is package 'grpreg' version '1.2-0' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'grpreg' 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 * loading checks for arch 'i386' ** 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 * loading checks for arch 'x64' ** 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 ... NOTE select.grpreg: no visible global function definition for 'BIC' * 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 data for non-ASCII characters ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'grpreg-Ex.R' failed The error most likely occurred in: > ### Name: grpreg-package > ### Title: Regularization paths for regression models with grouped > ### covariates > ### Aliases: grpreg-package > ### Keywords: models regression package > > ### ** Examples > > data(birthwt.grpreg) > X <- as.matrix(birthwt.grpreg[,-1:-2]) > y <- birthwt.grpreg$bwt > group <- c(1,1,1,2,2,2,3,3,4,5,5,6,7,8,8,8) > > fit <- grpreg(X,y,group,penalty="gMCP") > plot(fit) > select(fit) Error in select.grpreg(fit) : could not find function "BIC" Calls: select -> select.grpreg Execution halted