* using log directory 'd:/Rcompile/CRANpkg/local/4.6/conformalForecast.Rcheck' * using R Under development (unstable) (2026-01-10 r89298 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'conformalForecast/DESCRIPTION' ... OK * this is package 'conformalForecast' version '0.1.0' * package encoding: UTF-8 * 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 for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'conformalForecast' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [2s] OK * checking use of S3 registration ... OK * checking 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 ... [9s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [5s] ERROR Running examples in 'conformalForecast-Ex.R' failed The error most likely occurred in: > ### Name: accuracy.default > ### Title: Accuracy measures for a cross-validation model and a conformal > ### prediction model > ### Aliases: accuracy.default > > ### ** Examples > > # Simulate time series from an AR(2) model > library(forecast) > series <- arima.sim(n = 200, list(ar = c(0.8, -0.5)), sd = sqrt(1)) > > # Cross-validation forecasting with a rolling window > far2 <- function(x, h, level) { + Arima(x, order = c(2, 0, 0)) |> + forecast(h = h, level) + } > fc <- cvforecast(series, forecastfun = far2, h = 3, level = 95, + forward = TRUE, initial = 1, window = 50) > > # Out-of-sample forecast accuracy on validation set > accuracy(fc, measures = point_measures, byhorizon = TRUE) Error in NextMethod(.Generic) : cannot assign 'tsp' to zero-length vector Calls: accuracy ... accuracy.forecast -> trainingaccuracy -> Ops.ts -> NextMethod Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [18s] ERROR Error(s) in re-building vignettes: --- re-building 'conformalForecast.Rmd' using rmarkdown Quitting from conformalForecast.Rmd:68-72 [cvinfo] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `NextMethod()`: ! cannot assign 'tsp' to zero-length vector --- Backtrace: ▆ 1. ├─generics::accuracy(fc, byhorizon = TRUE) 2. └─forecast:::accuracy.forecast(fc, byhorizon = TRUE) 3. └─forecast:::trainingaccuracy(object, test, d, D) 4. ├─stats:::Ops.ts(dx, fits) 5. └─base::NextMethod(.Generic) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'conformalForecast.Rmd' failed with diagnostics: cannot assign 'tsp' to zero-length vector --- failed re-building 'conformalForecast.Rmd' SUMMARY: processing the following file failed: 'conformalForecast.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 2 ERRORs