* using log directory 'd:/Rcompile/CRANpkg/local/4.5/bridgr.Rcheck' * using R version 4.5.2 (2025-10-31 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 'bridgr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'bridgr' version '0.1.1' * 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 'bridgr' 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [4s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] ERROR Running examples in 'bridgr-Ex.R' failed The error most likely occurred in: > ### Name: bridge > ### Title: Estimate a Bridge Model > ### Aliases: bridge > > ### ** Examples > > library(bridgr) > > # Example usage > target_series <- suppressMessages(tsbox::ts_tbl(data.frame( + time = seq(as.Date("2020-01-01"), as.Date("2022-12-01"), by = "quarter"), + value = rnorm(12) + ))) > > indic_series <- suppressMessages(tsbox::ts_tbl(data.frame( + time = seq(as.Date("2020-01-01"), as.Date("2023-01-01"), by = "month"), + value = rnorm(37) + ))) > > bridge_model <- suppressMessages(bridge( + target = target_series, + indic = indic_series, + indic_predict = "mean", + indic_aggregators = "mean", + indic_lags = 2, + target_lags = 1, + h = 1 + )) Failed with error: 'there is no package called 'xts'' Error in ts_xts_dts(ts_dts(x)) : requireNamespace("xts") is not TRUE Calls: suppressMessages ... withCallingHandlers -> bridge -> -> ts_xts_dts -> stopifnot Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [1s] OK Running 'testthat.R' [1s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [4s] ERROR Error(s) in re-building vignettes: --- re-building 'bridgr.Rmd' using rmarkdown Failed with error: 'there is no package called 'xts'' Quitting from bridgr.Rmd:107-117 [estimating] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `ts_xts_dts()`: ! requireNamespace("xts") is not TRUE --- Backtrace: ▆ 1. ├─bridgr::bridge(...) 2. │ └─... %>% suppressMessages() 3. ├─base::suppressMessages(.) 4. │ └─base::withCallingHandlers(...) 5. ├─forecast::auto.arima(.) 6. │ └─stats::as.ts(x) 7. ├─base::suppressMessages(.) 8. │ └─base::withCallingHandlers(...) 9. └─tsbox::ts_xts(.) 10. └─tsbox:::ts_xts_dts(ts_dts(x)) 11. └─base::stopifnot(requireNamespace("xts")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'bridgr.Rmd' failed with diagnostics: requireNamespace("xts") is not TRUE --- failed re-building 'bridgr.Rmd' SUMMARY: processing the following file failed: 'bridgr.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [1s] OK * DONE Status: 2 ERRORs