* using log directory 'd:/Rcompile/CRANpkg/local/2.10/mondate.Rcheck' * using R version 2.10.1 (2009-12-14) * using session charset: ISO8859-1 * checking for file 'mondate/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'mondate' version '0.9.08.23' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'mondate' 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 name space 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 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 examples ... ERROR Running examples in 'mondate-Ex.R' failed. The error most likely occurred in: > ### * z.-methods > > flush(stderr()); flush(stdout()) > > ### Name: [-methods > ### Title: Extraction Method for Mondates > ### Aliases: [-methods [,mondate-method head head.mondate tail tail.mondate > ### Keywords: methods > > ### ** Examples > > (m<-structure(mondate.ymd(2001:2010,12,31),names=LETTERS[1:10])) mondate: timeunits="months" A B C D E F G 2001-12-31 2002-12-31 2003-12-31 2004-12-31 2005-12-31 2006-12-31 2007-12-31 H I J 2008-12-31 2009-12-31 2010-12-31 > m[1] mondate: timeunits="months" A 2001-12-31 > m[2:5] mondate: timeunits="months" B C D E 2002-12-31 2003-12-31 2004-12-31 2005-12-31 > head(m) mondate: timeunits="months" A B C D E F 2001-12-31 2002-12-31 2003-12-31 2004-12-31 2005-12-31 2006-12-31 > tail(m,2) mondate: timeunits="months" I J 2009-12-31 2010-12-31 > > (M<-cbind(m-12,m,m+12, deparse.level=2)) # a matrix Error in .Method(..., deparse.level = deparse.level) : SET_STRING_ELT() can only be applied to a 'character vector', not a 'NULL' Calls: cbind -> standardGeneric -> eval -> eval -> .Method Execution halted