CRAN Package Check Results for Maintainer ‘Richard Hunt <maint at huntemail.id.au>’

Last updated on 2026-02-09 07:49:08 CET.

Package ERROR OK
garma 1 12

Package garma

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/2s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(garma) Loading required package: forecast Loading required package: ggplot2 Package garma: 1.0.1 > > test_check("garma") Saving _problems/test-forecast_accuracy-17.R Saving _problems/test-forecast_accuracy-20.R Saving _problems/test-forecast_accuracy-22.R Saving _problems/test-forecast_accuracy-24.R Saving _problems/test-forecast_accuracy-26.R Saving _problems/test-forecast_accuracy-27.R Saving _problems/test-forecast_accuracy-28.R Saving _problems/test-forecast_accuracy-29.R [ FAIL 8 | WARN 0 | SKIP 2 | PASS 36 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-garma.R:232:1', 'test-garma2.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-forecast_accuracy.R:17:3'): accuracy function works ────────── Expected `abs(result[1, 1]) < 1e-04` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-forecast_accuracy.R:20:3'): accuracy function works ────────── Expected `abs(round(result[2, 2], 3) - 0.0867) < 0.001` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-forecast_accuracy.R:22:3'): accuracy function works ────────── Expected `abs(round(result[2, 3], 3) - 0.0759) < 0.001` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-forecast_accuracy.R:24:3'): accuracy function works ────────── Expected `abs(round(result[2, 4], 0) - 45) < 1` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-forecast_accuracy.R:26:3'): accuracy function works ────────── Expected `abs(round(result[2, 5], 0) - 88) < 2` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-forecast_accuracy.R:27:3'): accuracy function works ────────── Expected `abs(round(result[1, 6], 2) - 0.645) < 0.006` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-forecast_accuracy.R:28:3'): accuracy function works ────────── Expected `abs(round(result[2, 6], 2) - 0.7) < 1e-08` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-forecast_accuracy.R:29:3'): accuracy function works ────────── Expected `(abs(round(result[1, 7], 2)) - 0.03) < 1e-08` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 8 | WARN 0 | SKIP 2 | PASS 36 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-arm64