- using R version 2.7.1 (2008-06-23)
- using session charset: UTF-8
- checking for file 'robust/DESCRIPTION' ... OK
- this is package 'robust' version '0.3-0'
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking whether package 'robust' can be installed ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... 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
anova.glmRob: no visible global function definition for ‘deviance.lm’
anova.glmRoblist: no visible global function definition for
‘deviance.lm’
anova.lmRob: no visible global function definition for ‘chb’
glmRob: no visible binding for global variable ‘response’
glmRob.glmdev: no visible binding for global variable ‘ics’
glmRob.mallows: possible error in glm.fit(x[, "(Intercept)", drop =
FALSE], y, w, offset = offset, family = family, null.dev = NULL):
unused argument(s) (null.dev = NULL)
lmfmRespVsFittedPlot: no visible binding for global variable ‘response’
lmfmResQQPlot: multiple local function definitions for ‘panel.special’
with different formal arguments
lmRob: no visible binding for global variable ‘response’
lmRob.const: no visible global function definition for ‘chb’
lmRob.fit.compute: no visible global function definition for
‘guiDisplayDialog’
lmRob.fit.compute: no visible binding for global variable ‘yes.p’
lmRob.fit.compute: no visible global function definition for
‘lmRob.genetic.control’
lmRob.fit.compute: no visible global function definition for ‘lmRob.ga’
lmRob.fit.compute: no visible global function definition for ‘chb’
plot.covfm: no visible global function definition for ‘guiModify’
plot.glmfm: no visible global function definition for ‘guiModify’
plot.lmfm: no visible global function definition for ‘guiModify’
rb: no visible binding for global variable ‘response’
step.lmRob: no visible global function definition for ‘rebld.formula’
test.lmRob: no visible binding for global variable ‘response’
test.lmRob: no visible global function definition for ‘samp.permute’
test.lmRob: no visible global function definition for ‘chb’
- 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 ... NOTE
S3 methods shown with full name in documentation object 'anova.glmRob':
anova.glmRoblist
S3 methods shown with full name in documentation object 'anova.lmRob':
anova.lmRoblist
S3 methods shown with full name in documentation object 'plot.glmfm':
plot.glmfm
S3 methods shown with full name in documentation object 'predict.glmRob':
predict.glmRob
The \usage entries for S3 methods should use the \method markup and not
their full name.
See the chapter 'Writing R documentation files' in manual 'Writing R
Extensions'.
- 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 compilation flags in Makevars ... OK
- checking for portable use of $BLAS_LIBS ... OK
- creating robust-Ex.R ... OK
- checking examples ... ERROR
Running examples in 'robust-Ex.R' failed.
The error most likely occurred in:
> ### * anova.glmRob
>
> flush(stderr()); flush(stdout())
>
> ### Name: anova.glmRob
> ### Title: ANOVA for Robust Generalized Linear Model Fits
> ### Aliases: anova.glmRob anova.glmRoblist
> ### Keywords: robust regression methods
>
> ### ** Examples
>
> data(breslow.dat)
> bres.int <- glmRob(sumY ~ Age10 + Base4*Trt, family = poisson(), data = breslow.dat)
Warning in any(offset) : coercing argument of type 'double' to logical
> bres.main <- glmRob(sumY ~ Age10 + Base4 + Trt, family = poisson(), data = breslow.dat)
Warning in any(offset) : coercing argument of type 'double' to logical
> anova(bres.int)
Warning in any(offset) : coercing argument of type 'double' to logical
Warning in any(offset) : coercing argument of type 'double' to logical
Warning in any(offset) : coercing argument of type 'double' to logical
Analysis of Deviance Table
poisson model
Response: sumY
Terms added sequentially (first to last)
Df Deviance Resid. Df Resid. Dev
NULL 58 11983.1
Age10 1 9125.7 57 2857.5
Base4 1 1215.9 56 1641.6
Trt 1 -1331.2 55 2972.8
Base4:Trt 1 54
> anova(bres.int, bres.main)
Error in r[i1] - r[-length(r):-(length(r) - lag + 1)] :
non-numeric argument to binary operator
Calls: anova ... anova.glmRob -> anova.glmRoblist -> diff -> diff.default
Execution halted