CRAN Package Check Results for Package ti

Last updated on 2026-03-01 19:51:41 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.0.0 5.32 173.60 178.92 OK
r-devel-linux-x86_64-debian-gcc 4.0.0 3.69 112.76 116.45 OK
r-devel-linux-x86_64-fedora-clang 4.0.0 9.00 261.97 270.97 OK
r-devel-linux-x86_64-fedora-gcc 4.0.0 10.00 111.63 121.63 ERROR
r-devel-macos-arm64 4.0.0 2.00 36.00 38.00 OK
r-devel-windows-x86_64 4.0.0 7.00 166.00 173.00 OK
r-patched-linux-x86_64 4.0.0 7.13 160.75 167.88 OK
r-release-linux-x86_64 4.0.0 5.66 157.68 163.34 OK
r-release-macos-arm64 4.0.0 2.00 37.00 39.00 OK
r-release-macos-x86_64 4.0.0 5.00 383.00 388.00 OK
r-release-windows-x86_64 4.0.0 7.00 170.00 177.00 OK
r-oldrel-macos-arm64 4.0.0 1.00 40.00 41.00 OK
r-oldrel-macos-x86_64 4.0.0 5.00 295.00 300.00 OK
r-oldrel-windows-x86_64 4.0.0 10.00 226.00 236.00 OK

Additional issues

M1mac

Check Details

Version: 4.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [34s/35s] 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(ti) > > test_check("ti") Saving _problems/test-retail-calendar-114.R Saving _problems/test-retail-calendar-124.R Saving _problems/test-retail-calendar-134.R Saving _problems/test-retail-calendar-142.R Saving _problems/test-retail-calendar-159.R Saving _problems/test-retail-calendar-169.R Saving _problems/test-retail-calendar-179.R Saving _problems/test-retail-calendar-189.R Saving _problems/test-retail-calendar-199.R Saving _problems/test-retail-calendar-210.R Saving _problems/test-retail-calendar-221.R Saving _problems/test-retail-calendar-231.R Saving _problems/test-retail-calendar-241.R Saving _problems/test-retail-calendar-251.R Saving _problems/test-retail-calendar-261.R Saving _problems/test-retail-calendar-271.R Saving _problems/test-retail-calendar-281.R Saving _problems/test-retail-calendar-292.R Saving _problems/test-retail-calendar-303.R Saving _problems/test-retail-calendar-313.R Saving _problems/test-retail-calendar-323.R Saving _problems/test-retail-calendar-333.R Saving _problems/test-retail-calendar-343.R Saving _problems/test-retail-calendar-353.R Saving _problems/test-retail-calendar-367.R Saving _problems/test-retail-calendar-377.R Saving _problems/test-retail-calendar-388.R Saving _problems/test-retail-calendar-398.R Saving _problems/test-retail-calendar-412.R Saving _problems/test-retail-calendar-422.R Saving _problems/test-retail-calendar-432.R Saving _problems/test-ti_fn-14.R Saving _problems/test-ti_fn-25.R Saving _problems/test-ti_fn-36.R Saving _problems/test-ti_fn-47.R Saving _problems/test-ti_fn-59.R Saving _problems/test-ti_fn-71.R Saving _problems/test-ti_fn-82.R Saving _problems/test-ti_fn-93.R Saving _problems/test-ti_fn-104.R Saving _problems/test-ti_fn-115.R Saving _problems/test-ti_fn-127.R Saving _problems/test-ti_fn-137.R Saving _problems/test-ti_fn-147.R Saving _problems/test-ti_fn-155.R Saving _problems/test-ti_fn-166.R Saving _problems/test-ti_fn-177.R Saving _problems/test-ti_fn-189.R Saving _problems/test-ti_fn-200.R Saving _problems/test-ti_fn-211.R Saving _problems/test-ti_fn-223.R Saving _problems/test-ti_fn-233.R Saving _problems/test-ti_fn-243.R Saving _problems/test-ti_fn-252.R Saving _problems/test-ti_fn-261.R [ FAIL 55 | WARN 0 | SKIP 0 | PASS 6 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-retail-calendar.R:108:5'): retail calendar integration with ti functions / ytd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:118:5'): retail calendar integration with ti functions / qtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:128:5'): retail calendar integration with ti functions / mtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Error ('test-retail-calendar.R:138:5'): retail calendar integration with ti functions / ytd with 445 returns fiscal year values ── Error in `dplyr::summarise(dplyr::mutate(make_db_tbl(dplyr::ungroup(x@datum@data)), date = lubridate::floor_date(!!x@datum@date_quo, unit = !!x@time_unit@value, week_start = 7), time_unit = !!x@time_unit@value), `:=`(!!x@value@value_vec, sum(!!x@value@value_quo, na.rm = TRUE)), .by = c(date, !!!x@datum@group_quo))`: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:151:5'): retail calendar integration with ti functions / grouped ytd works with 454 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:163:5'): retail calendar integration with ti functions / wtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:173:5'): retail calendar integration with ti functions / atd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:183:5'): retail calendar integration with ti functions / pytd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:193:5'): retail calendar integration with ti functions / pqtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:204:5'): retail calendar integration with ti functions / pmtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:215:5'): retail calendar integration with ti functions / pwtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:225:5'): retail calendar integration with ti functions / yoy works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:235:5'): retail calendar integration with ti functions / qoq works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:245:5'): retail calendar integration with ti functions / mom works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:255:5'): retail calendar integration with ti functions / wow works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:265:5'): retail calendar integration with ti functions / dod works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:275:5'): retail calendar integration with ti functions / yoytd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:286:5'): retail calendar integration with ti functions / qoqtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:297:5'): retail calendar integration with ti functions / momtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:308:5'): retail calendar integration with ti functions / wowtd works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:317:5'): retail calendar integration with ti functions / ytdopy works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:327:5'): retail calendar integration with ti functions / qtdopq works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:337:5'): retail calendar integration with ti functions / mtdopm works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:347:5'): retail calendar integration with ti functions / wtdopw works with 445 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:361:5'): 544 calendar integration / ytd works with 544 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:371:5'): 544 calendar integration / qoq works with 544 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:382:5'): 544 calendar integration / momtd works with 544 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:392:5'): 544 calendar integration / wtdopw works with 544 calendar ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:406:5'): fiscal_year_start variations / ytd works with fiscal_year_start = 7 ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:416:5'): fiscal_year_start variations / qoq works with fiscal_year_start = 10 ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-retail-calendar.R:426:5'): fiscal_year_start variations / mtd works with fiscal_year_start = 4 ── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:6:5'): ti functions / ytd works ────────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:18:5'): ti functions / qtd works ───────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:29:5'): ti functions / mtd works ───────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:40:5'): ti functions / wtd works ───────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:51:5'): ti functions / atd works ───────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:63:5'): ti functions / yoy works ───────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:75:5'): ti functions / qoq works ───────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:86:5'): ti functions / mom works ───────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:97:5'): ti functions / wow works ───────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:108:5'): ti functions / dod works ──────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:119:5'): ti functions / yoytd works ────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:131:5'): ti functions / qoqtd works ────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:141:5'): ti functions / momtd works ────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:151:5'): ti functions / wowtd works ────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:159:5'): ti functions / pytd works ─────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:170:5'): ti functions / pqtd works ─────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:181:5'): ti functions / pmtd works ─────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:193:5'): ti functions / pwtd works ─────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:204:5'): ti functions / ytdopy works ───────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:215:5'): ti functions / mtdopm works ───────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:227:5'): ti functions / qtdopq works ───────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:237:5'): ti functions / wtdopw works ───────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:247:5'): ti functions / abc works ──────────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `abc_margin = sum(margin, na.rm = TRUE)` Caused by error: ! Object `margin` not found. ── Failure ('test-ti_fn.R:256:5'): ti functions / cohort works ───────────────── Expected `{ ... }` not to throw any errors. Actually got a <rlang_error> with message: i In argument: `margin` Caused by error: ! Object `margin` not found. [ FAIL 55 | WARN 0 | SKIP 0 | PASS 6 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc