* using log directory 'd:/Rcompile/CRANpkg/local/2.14/dlmodeler.Rcheck' * using R version 2.14.2 (2012-02-29) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'dlmodeler/DESCRIPTION' ... OK * this is package 'dlmodeler' version '1.2-0' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking whether package 'dlmodeler' can be installed ... OK * checking installed package size ... 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 package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace 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 ... 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 Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'dlmodeler-Ex.R' failed The error most likely occurred in: > ### Name: dlmodeler-package > ### Title: Generalized Dynamic Linear Modeler > ### Aliases: dlmodeler > ### Keywords: dlm forecast kalman filtering smoothing > > ### ** Examples > > require(dlmodeler) > > # This section illustrates most of the possibilities offered by the > # package by reproducing famous examples of state-space time-series > # analysis found in the litterature. > > ############################################### > # analysis from Durbin & Koopman book page 32 # > # random walk # > ############################################### > > # load and show the data > y <- matrix(Nile,nrow=1) > plot(y[1,],type='l') > > # y(t) = a(t) + eta(t) > # a(t+1) = a(t) + eps(t) > # with the parametrization (phi) proposed in the book > build.fun <- function(p) { + varH <- exp(p[1]) + varQ <- exp(p[2])*varH + dlmodeler.build.polynomial(0,sqrt(varH),sqrt(varQ),name='p32') + } > > # fit the model by maximum likelihood estimation > fit <- dlmodeler.fit.MLE(y, build.fun, c(0,0), verbose=FALSE) Loading required package: KFAS Error in KFAS::SSModel(y = t(yt), Z = model$Zt, T = model$Tt, R = model$Rt, : could not find function "paste0" Calls: dlmodeler.fit.MLE ... dlmodeler.filter -> dlmodeler.filter.KFAS -> Execution halted