CRAN Package Check Results for Package FoRecoML

Last updated on 2026-06-23 22:01:43 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 11.82 124.96 136.78 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 8.89 79.87 88.76 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.0 19.00 146.71 165.71 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 17.00 138.21 155.21 OK
r-devel-windows-x86_64 1.0.0 15.00 110.00 125.00 OK
r-patched-linux-x86_64 1.0.0 11.01 126.24 137.25 OK
r-release-linux-x86_64 1.0.0 10.28 125.38 135.66 OK
r-release-macos-arm64 1.1.0 3.00 27.00 30.00 OK
r-release-macos-x86_64 1.1.0 8.00 85.00 93.00 OK
r-release-windows-x86_64 1.0.0 13.00 108.00 121.00 OK
r-oldrel-macos-arm64 1.1.0 3.00 32.00 35.00 OK
r-oldrel-macos-x86_64 1.1.0 8.00 86.00 94.00 OK
r-oldrel-windows-x86_64 1.0.0 19.00 141.00 160.00 OK

Check Details

Version: 1.0.0
Check: dependencies in R code
Result: WARN Missing or unexported object: ‘FoReco::FoReco2matrix’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: R code for possible problems
Result: NOTE csrml: no visible global function definition for ‘new_foreco_info’ ctrml: no visible global function definition for ‘new_foreco_info’ extract_reconciled_ml: no visible global function definition for ‘recoinfo’ terml: no visible global function definition for ‘new_foreco_info’ Undefined global functions or variables: new_foreco_info recoinfo Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: Rd cross-references
Result: WARN Missing link(s) in Rd file 'csrml.Rd': ‘[FoReco:recoinfo]{FoReco::recoinfo}’ Missing link(s) in Rd file 'ctrml.Rd': ‘[FoReco:recoinfo]{FoReco::recoinfo}’ Missing link(s) in Rd file 'terml.Rd': ‘[FoReco:recoinfo]{FoReco::recoinfo}’ See section 'Cross-references' in the 'Writing R Extensions' manual. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘FoRecoML-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: csrml > ### Title: Cross-sectional Reconciliation with Machine Learning > ### Aliases: csrml csrml_fit > > ### ** Examples > > # agg_mat: simple aggregation matrix, A = B + C > agg_mat <- t(c(1,1)) > dimnames(agg_mat) <- list("A", c("B", "C")) > > # N_hat: dimension for the most aggregated training set > N_hat <- 100 > > # ts_mean: mean for the Normal draws used to simulate data > ts_mean <- c(20, 10, 10) > > # hat: a training (base forecasts) feautures matrix > hat <- matrix(rnorm(length(ts_mean)*N_hat, mean = ts_mean), + N_hat, byrow = TRUE) > colnames(hat) <- unlist(dimnames(agg_mat)) > > # obs: (observed) values for bottom-level series (B, C) > obs <- matrix(rnorm(length(ts_mean[-1])*N_hat, mean = ts_mean[-1]), + N_hat, byrow = TRUE) > colnames(obs) <- colnames(agg_mat) > > # h: base forecast horizon > h <- 2 > > # base: base forecasts matrix > base <- matrix(rnorm(length(ts_mean)*h, mean = ts_mean), + h, byrow = TRUE) > colnames(base) <- unlist(dimnames(agg_mat)) > > ########################################################################## > # Different ML approaches > ########################################################################## > # XGBoost Reconciliation (xgboost pkg) > reco <- csrml(base = base, hat = hat, obs = obs, agg_mat = agg_mat, + approach = "xgboost", features = "all") Error in new_foreco_info(list(fit = obj, framework = "Cross-sectional", : could not find function "new_foreco_info" Calls: csrml Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/12s] 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 > > library(testthat) > library(FoRecoML) Loading required package: Matrix Loading required package: FoReco > > test_check("FoRecoML") Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-51.R Saving _problems/test-csrml-71.R Saving _problems/test-ctrml-60.R Saving _problems/test-ctrml-60.R Saving _problems/test-ctrml-60.R Saving _problems/test-ctrml-60.R Saving _problems/test-ctrml-60.R Saving _problems/test-ctrml-60.R Saving _problems/test-ctrml-60.R Saving _problems/test-ctrml-60.R Saving _problems/test-ctrml-73.R Saving _problems/test-ctrml-109.R Saving _problems/test-terml-38.R Saving _problems/test-terml-38.R Saving _problems/test-terml-38.R Saving _problems/test-terml-38.R Saving _problems/test-terml-38.R Saving _problems/test-terml-38.R Saving _problems/test-terml-38.R Saving _problems/test-terml-38.R Saving _problems/test-terml-49.R Saving _problems/test-terml-79.R [ FAIL 37 | WARN 0 | SKIP 0 | PASS 21 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Failure ('test-csrml.R:44:9'): Approach and features ──────────────────────── Expected `csrml(...)` not to throw any errors. Actually got a <functionNotFoundError> with message: could not find function "new_foreco_info" ── Error ('test-csrml.R:64:5'): Two step ─────────────────────────────────────── <functionNotFoundError/objectNotFoundError/error/condition> Error in `new_foreco_info(list(fit = obj, framework = "Cross-sectional", forecast_horizon = NROW(reco_mat), cs_n = n, rfun = "csrml", ml = approach))`: could not find function "new_foreco_info" Backtrace: ▆ 1. └─FoRecoML::csrml(...) at test-csrml.R:64:5 ── Failure ('test-ctrml.R:52:9'): Approach and features ──────────────────────── Expected `ctrml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-ctrml.R:52:9'): Approach and features ──────────────────────── Expected `ctrml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-ctrml.R:52:9'): Approach and features ──────────────────────── Expected `ctrml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-ctrml.R:52:9'): Approach and features ──────────────────────── Expected `ctrml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-ctrml.R:52:9'): Approach and features ──────────────────────── Expected `ctrml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-ctrml.R:52:9'): Approach and features ──────────────────────── Expected `ctrml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-ctrml.R:52:9'): Approach and features ──────────────────────── Expected `ctrml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-ctrml.R:52:9'): Approach and features ──────────────────────── Expected `ctrml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Error ('test-ctrml.R:66:5'): Two step ─────────────────────────────────────── Error: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' Backtrace: ▆ 1. └─FoRecoML::ctrml_fit(...) at test-ctrml.R:66:5 2. └─FoRecoML:::input2rtw(hat, tmp$set) ── Error ('test-ctrml.R:102:5'): Errors ──────────────────────────────────────── Error: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' Backtrace: ▆ 1. └─FoRecoML::ctrml_fit(...) at test-ctrml.R:102:5 2. └─FoRecoML:::input2rtw(hat, tmp$set) ── Failure ('test-terml.R:31:9'): Approach and features ──────────────────────── Expected `terml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-terml.R:31:9'): Approach and features ──────────────────────── Expected `terml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-terml.R:31:9'): Approach and features ──────────────────────── Expected `terml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-terml.R:31:9'): Approach and features ──────────────────────── Expected `terml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-terml.R:31:9'): Approach and features ──────────────────────── Expected `terml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-terml.R:31:9'): Approach and features ──────────────────────── Expected `terml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-terml.R:31:9'): Approach and features ──────────────────────── Expected `terml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Failure ('test-terml.R:31:9'): Approach and features ──────────────────────── Expected `terml(...)` not to throw any errors. Actually got a <simpleError> with message: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' ── Error ('test-terml.R:44:5'): Two step ─────────────────────────────────────── Error: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' Backtrace: ▆ 1. └─FoRecoML::terml_fit(hat = hat, obs = obs, agg_order = m, approach = "lightgbm") at test-terml.R:44:5 2. └─FoRecoML:::input2rtw(hat, kset) ── Error ('test-terml.R:74:5'): Errors ───────────────────────────────────────── Error: 'FoReco2matrix' is not an exported object from 'namespace:FoReco' Backtrace: ▆ 1. └─FoRecoML::terml_fit(hat = hat, obs = obs, agg_order = m, approach = "lightgbm") at test-terml.R:74:5 2. └─FoRecoML:::input2rtw(hat, kset) [ FAIL 37 | WARN 0 | SKIP 0 | PASS 21 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc