• using R version 4.6.0 alpha (2026-03-26 r89725)
  • using platform: aarch64-apple-darwin23
  • R was compiled by     Apple clang version 17.0.0 (clang-1700.3.19.1)     GNU Fortran (GCC) 14.2.0
  • running under: macOS Sequoia 15.7.1
  • using session charset: UTF-8 * current time: 2026-03-28 07:54:24 UTC
  • checking for file ‘ti/DESCRIPTION’ ... OK
  • this is package ‘ti’ version ‘4.0.0’
  • 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 ‘ti’ can be installed ... [1s/1s] OK See the install log for details.
  • checking installed package size ... OK
  • checking package 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 ... [0s/0s] OK
  • checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the package can be unloaded cleanly ... [0s/0s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
  • checking loading without being on the library search path ... [0s/0s] OK
  • checking whether startup messages can be suppressed ... [0s/0s] 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 ... [1s/1s] 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 examples ... [0s/0s] OK
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [4s/4s] ERROR   Running ‘testthat.R’ [4s/4s] 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
  • checking PDF version of manual ... [3s/3s] OK
  • DONE Status: 1 ERROR
  • using check arguments '--no-clean-on-error '