- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘garma/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘garma’ version ‘1.0.1’
- 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 ‘garma’ can be installed ... [3s/4s] 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] 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 ... [2s/2s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... 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 ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/2s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/4s] OK
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '