Package: bridgr Check: examples New result: ERROR Running examples in ‘bridgr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 Package: bridgr Check: re-building of vignette outputs New result: 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 Package: iClick Check: examples New result: ERROR Running examples in ‘iClick-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: iClick.VisOneReturns > ### Title: Visualize Asset Returns > ### Aliases: iClick.VisOneReturns > > ### ** Examples > > data("world20") > y=na.omit(diff(log(world20[,1]))) > > ## Simulation data > #dat=rnorm(200,5,1) > #y=ts(dat, start = c(1970, 1), frequency = 12) > iClick.VisOneReturns(y) Error in midnightStandard2(charvec, format) : 'charvec' has non-NA entries of different number of characters Calls: iClick.VisOneReturns ... timeDate -> timeDate -> .local -> midnightStandard2 Execution halted