* using log directory 'd:/Rcompile/CRANpkg/kza.Rcheck' * checking for file 'kza/DESCRIPTION' ... OK * checking if this is a source package ... OK * checking whether package 'kza' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking package dependencies ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for syntax errors ... OK * checking R files for library.dynam ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking Rd files ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking for CRLF line endings in C sources/headers ... OK * creating kza-Ex.R ... OK * checking examples ... ERROR Running examples in kza-Ex.R failed. The error most likely occurred in: > ### * kzf > > flush(stderr()); flush(stdout()) > > ### Name: kzf > ### Title: Kolmogorov-Zurbenko adaptive filter > ### Aliases: kzf > ### Keywords: ts > > ### ** Examples > > x <- c(rep(0,1000),rep(0.5,1000),rep(0,1000)) > set.seed(1) > > v <- x + rnorm(n = 3000, sd = 1.0) # normally-distributed random variates > > z <- kza(v,100) > z <- z[[1]] > > d <- rep(0,3000) > f <- kzf(v,100,d) > f <- f[[5]] > >