* using log directory 'd:/Rcompile/CRANpkg/local/2.8/fRegression.Rcheck' * using R version 2.8.1 (2008-12-22) * using session charset: ISO8859-1 * checking for file 'fRegression/DESCRIPTION' ... OK * this is package 'fRegression' version '290.75' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'fRegression' 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 ... NOTE .gam: no visible global function definition for 'gam.method' .gam: no visible global function definition for 'gam.method.description' * 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 line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking for portable compilation flags in Makevars ... OK * checking for portable use of $BLAS_LIBS ... OK * creating fRegression-Ex.R ... OK * checking examples ... ERROR Running examples in 'fRegression-Ex.R' failed. The error most likely occurred in: > ### * regFit > > flush(stderr()); flush(stdout()) > > ### Name: regFit > ### Title: Regression Modelling > ### Aliases: regFit gregFit > ### Keywords: models > > ### ** Examples > > ## regSim - > x = regSim(model = "LM3", n = 100) > > # LM > regFit(Y ~ X1 + X2 + X3, data = x, use = "lm") Title: Linear Regression Modeling Formula: Y ~ X1 + X2 + X3 Family: gaussian identity Model Parameters: (Intercept) X1 X2 X3 0.01578 0.73967 0.25128 -0.50611 > > # RLM > regFit(Y ~ X1 + X2 + X3, data = x, use = "rlm") Title: Robust Linear Regression Modeling Formula: Y ~ X1 + X2 + X3 Family: gaussian identity Model Parameters: (Intercept) X1 X2 X3 0.01968 0.74264 0.24736 -0.50123 > # AM > regFit(Y ~ X1 + X2 + X3, data = x, use = "gam") Error in .gam(formula = Y ~ X1 + X2 + X3, data = as.data.frame(x)) : could not find function "gam.method" Calls: regFit -> eval -> eval -> .gam Execution halted