Last updated on 2026-09-11 21:51:02 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 9.01 | 233.38 | 242.39 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 6.81 | 155.10 | 161.91 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.2.1 | 155.53 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 162.09 | ERROR | |||
| r-devel-windows-x86_64 | 0.2.0 | 10.00 | 244.00 | 254.00 | OK | |
| r-patched-linux-x86_64 | 0.2.0 | 9.53 | 219.39 | 228.92 | ERROR | |
| r-release-linux-x86_64 | 0.2.0 | 9.49 | 223.79 | 233.28 | OK | |
| r-release-macos-arm64 | 0.2.0 | 2.00 | 68.00 | 70.00 | OK | |
| r-release-macos-x86_64 | 0.2.1 | 6.00 | 272.00 | 278.00 | OK | |
| r-release-windows-x86_64 | 0.2.0 | 10.00 | 229.00 | 239.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.2.1 | OK | ||||
| r-oldrel-macos-x86_64 | 0.2.1 | 6.00 | 268.00 | 274.00 | ERROR | |
| r-oldrel-windows-x86_64 | 0.2.0 | 15.00 | 308.00 | 323.00 | ERROR |
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in ‘fable.bayesRecon-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64
Version: 0.2.0
Check: examples
Result: 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
Flavors: r-devel-linux-x86_64-fedora-gcc, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [90s/126s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> testthat::test_check("fable.bayesRecon")
Loading required package: fable.bayesRecon
Saving _problems/test-bayesRecon_TDcond-34.R
Saving _problems/test-bayesRecon_TDcond-39.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 80 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-bayesRecon_TDcond.R:28:3'): bayesRecon_TDcond runs reconciliation and produces valid output ──
Expected `{ ... }` not to throw any errors.
Actually got a <dplyr:::mutate_error> with message:
i In argument: `tdcond = (function (object, ...) ...`.
Caused by error in `.core_reconc_TDcond()`:
! The fraction of reconciled upper samples that lie in the support
of the bottom-up distribution is49.5which is below the minimum threshold (50). Consider increasing the variance of the base forecasts.
── Error ('test-bayesRecon_TDcond.R:39:3'): bayesRecon_TDcond runs reconciliation and produces valid output ──
Error in `eval(code, test_env)`: object 'fc3' not found
Backtrace:
▆
1. └─testthat::expect_s3_class(fc3, c("tbl_df", "tbl")) at test-bayesRecon_TDcond.R:39:3
2. └─testthat::quasi_label(enquo(object))
3. └─rlang::eval_bare(expr, quo_get_env(quo))
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 80 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-x86_64