- using R Under development (unstable) (2026-09-08 r90509)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 23.1.1
flang version 23.1.1
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-09-09 16:41:08 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘fable.bayesRecon/DESCRIPTION’ ... OK
- this is package ‘fable.bayesRecon’ version ‘0.2.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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘fable.bayesRecon’ can be installed ... OK
See the install log for details.
- 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 ... 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 loading without being on the library search path ... 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/10s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... ERROR
Running examples in ‘fable.bayesRecon-Ex.R’ failed
The error most likely occurred in:
> ### Name: bayesRecon_MixCond
> ### Title: Probabilistic reconciliation of mixed hierarchies
> ### Aliases: bayesRecon_MixCond bayesRecon_TDcond
>
> ### ** Examples
>
> library(tsibble)
Attaching package: ‘tsibble’
The following objects are masked from ‘package:base’:
intersect, setdiff, union
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> library(fable)
Loading required package: fabletools
> library(fabletools)
> library(fable.intermittent)
>
>
> # Mixed hierarchy with integer-valued bottom and one upper aggregate, from the `auto` dataset.
> # Forecasts with EMPDISTR for bottom base and ETS for smooth base forecasts.
>
>
> # Helper: split a hierarchy into its upper (aggregated) and bottom (leaf) series so that a
> # different base model can be fitted at each level.
> hier_filter <- function(data, level = c("upper", "bottom")) {
+ level <- match.arg(level)
+ key_cols <- tsibble::key_vars(data)
+ if (level == "upper") {
+ dplyr::filter(data, dplyr::if_any(dplyr::all_of(key_cols), fabletools::is_aggregated))
+ } else {
+ dplyr::filter(data, !dplyr::if_any(dplyr::all_of(key_cols), fabletools::is_aggregated))
+ }
+ }
>
> # Build a small two-level hierarchy from a handful of auto spare-part series.
> # The four series become the bottom level; their sum is the upper aggregate.
> sel <- c("TS1461", "TS2953", "TS333", "TS2710")
> data <- auto |>
+ dplyr::filter(series_id %in% sel) |>
+ fabletools::aggregate_key(series_id, value = sum(value))
>
>
> # Hold out the last 6 months for forecasting.
> train <- data |> dplyr::filter(index < tsibble::yearmonth("2011 Jul"))
>
> # Base forecasts: a smooth (Gaussian) model on the continuous-looking upper aggregate,
> # and the EMPDISTR non-parametric count model on the intermittent bottom series.
> fit_upper <- train |>
+ hier_filter("upper") |>
+ fabletools::model(base = fable::ETS(value))
>
> fit_bottom <- train |>
+ hier_filter("bottom") |>
+ fabletools::model(base = fable.intermittent::EMPDISTR(value))
Error: 'EMPDISTR' is not an exported object from 'namespace:fable.intermittent'
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [76s/80s] OK
Running ‘testthat.R’ [76s/80s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [26s/27s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR