Skip to content

unitizer

Interactive R Unit Tests

v1.4.23 · Oct 22, 2025 · GPL-2 | GPL-3

Description

Simplifies regression tests by comparing objects produced by test code with earlier versions of those same objects. If objects are unchanged the tests pass, otherwise execution stops with error details. If in interactive mode, tests can be reviewed through the provided interactive environment.

Downloads

CRAN

4.3K

Last 30 days

1871st

11.2K

Last 90 days

43.5K

Last year

Trend: -0.6% (30d vs prior 30d)

r2u CRAN

72

Last 30 days

353

Last 90 days

880

Last year

Trend: -35.1% (30d vs prior 30d)

CRAN Check Status

2 ERROR
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 ERROR
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 ERROR
Check details (2 non-OK)
ERROR r-devel-windows-x86_64

tests

Running 't-browser.R' [1s]
  Comparing 't-browser.Rout' to 't-browser.Rout.save' ... OK
  Running 't-capture.R' [1s]
  Comparing 't-capture.Rout' to 't-capture.Rout.save' ... OK
  Running 't-change.R' [1s]
  Comparing 't-change.Rout' to 't-change.Rout.save' ... OK
  Running 't-demo.R' [1s]
  Running 't-error.R' [1s]
  Comparing 't-error.Rout' to 't-error.Rout.save' ... OK
  Running 't-exec.R' [1s]
  Comparing 't-exec.Rout' to 't-exec.Rout.save' ... OK
  Running 't-get.R' [2s]
  Comparing 't-get.Rout' to 't-get.Rout.save' ... OK
  Running 't-global.R' [1s]
  Comparing 't-global.Rout' to 't-global.Rout.save' ... OK
  Running 't-handledruns.R' [2s]
  Comparing 't-handledruns.Rout' to 't-handledruns.Rout.save' ... OK
  Running 't-ischecks.R' [1s]
  Comparing 't-ischecks.Rout' to 't-ischecks.Rout.save' ... OK
  Running 't-item.R' [2s]
  Comparing 't-item.Rout' to 't-item.Rout.save' ... OK
  Running 't-list.R' [1s]
  Comparing 't-list.Rout' to 't-list.Rout.save' ... OK
  Running 't-misc.R' [
...[truncated]...
te output:
  > source('aammrtf/check.R')
  43: > lorem1 <- "Today, with Kiernan on the stand offering confirmation, Howard walked the jury through the enormous amount of data pulled from Ulbricht's computer. Defense lawyers haven't had a chance yet to respond to this evidence<e2><80><94>that will likely come tomorrow. The mountain they have to climb looks higher than ever, though. Last week, Ulbricht's lawyer outlined a defense in which Ulbricht walked away from the marketplace he created and was \"lured back.\" But what will explain the dozens of folders of data on this laptop, with data from the upper echelons of Silk Road management<e2><80><94>mixed with the most intimate details of Ulbricht's personal life?"
  
  
  
  
  
  
  
  
  
  
  
  
  
  Error: .Rout files missing (failed?):
  't-demo.Rout', 't-search.Rout', 't-shim.Rout', 't-utz1.Rout', 't-utz2.Rout'
  In addition: Warning message:
  In eval(ei, envir) : Some outputs contain non-ASCII:
  't-text.Rout'
  Execution halted
ERROR r-release-windows-x86_64

tests

Running 't-browser.R' [1s]
  Comparing 't-browser.Rout' to 't-browser.Rout.save' ... OK
  Running 't-capture.R' [1s]
  Comparing 't-capture.Rout' to 't-capture.Rout.save' ... OK
  Running 't-change.R' [1s]
  Comparing 't-change.Rout' to 't-change.Rout.save' ... OK
  Running 't-demo.R' [1s]
  Running 't-error.R' [1s]
  Comparing 't-error.Rout' to 't-error.Rout.save' ... OK
  Running 't-exec.R' [1s]
  Comparing 't-exec.Rout' to 't-exec.Rout.save' ... OK
  Running 't-get.R' [2s]
  Comparing 't-get.Rout' to 't-get.Rout.save' ... OK
  Running 't-global.R' [1s]
  Comparing 't-global.Rout' to 't-global.Rout.save' ... OK
  Running 't-handledruns.R' [2s]
  Comparing 't-handledruns.Rout' to 't-handledruns.Rout.save' ... OK
  Running 't-ischecks.R' [1s]
  Comparing 't-ischecks.Rout' to 't-ischecks.Rout.save' ... OK
  Running 't-item.R' [2s]
  Comparing 't-item.Rout' to 't-item.Rout.save' ... OK
  Running 't-list.R' [1s]
  Comparing 't-list.Rout' to 't-list.Rout.save' ... OK
  Running 't-misc.R' [
...[truncated]...
te output:
  > source('aammrtf/check.R')
  43: > lorem1 <- "Today, with Kiernan on the stand offering confirmation, Howard walked the jury through the enormous amount of data pulled from Ulbricht's computer. Defense lawyers haven't had a chance yet to respond to this evidence<e2><80><94>that will likely come tomorrow. The mountain they have to climb looks higher than ever, though. Last week, Ulbricht's lawyer outlined a defense in which Ulbricht walked away from the marketplace he created and was \"lured back.\" But what will explain the dozens of folders of data on this laptop, with data from the upper echelons of Silk Road management<e2><80><94>mixed with the most intimate details of Ulbricht's personal life?"
  
  
  
  
  
  
  
  
  
  
  
  
  
  Error: .Rout files missing (failed?):
  't-demo.Rout', 't-search.Rout', 't-shim.Rout', 't-utz1.Rout', 't-utz2.Rout'
  In addition: Warning message:
  In eval(ei, envir) : Some outputs contain non-ASCII:
  't-text.Rout'
  Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-windows-x86_64

tests

Running 't-browser.R' [1s]
  Comparing 't-browser.Rout' to 't-browser.Rout.save' ... OK
  Running 't-capture.R' [1s]
  Comparing 't-capture.Rout' to 't-capture.Rout.save' ... OK
  Running 't-change.R' [1s]
  Comparing 't-change.Rout' to 't-change.Rou
...[truncated]...
 
  
  
  
  Error: .Rout files missing (failed?):
  't-demo.Rout', 't-search.Rout', 't-shim.Rout', 't-utz1.Rout', 't-utz2.Rout'
  In addition: Warning message:
  In eval(ei, envir) : Some outputs contain non-ASCII:
  't-text.Rout'
  Execution halted

Reverse Dependencies (2)

suggests

Dependency Network

Dependencies Reverse dependencies crayon diffobj fansi vetr unitizer

Version History

24 tracked
new 1.4.23 Mar 10, 2026
updated 1.4.23 ← 1.4.22 diff Oct 21, 2025
updated 1.4.22 ← 1.4.21 diff Mar 18, 2025
updated 1.4.21 ← 1.4.20 diff May 17, 2024
updated 1.4.20 ← 1.4.19 diff Oct 7, 2023
updated 1.4.19 ← 1.4.18 diff Mar 20, 2023
updated 1.4.18 ← 1.4.17 diff Mar 22, 2022
updated 1.4.17 ← 1.4.16 diff Jan 8, 2022
updated 1.4.16 ← 1.4.15 diff Jan 4, 2022
updated 1.4.15 ← 1.4.14 diff Aug 1, 2021
updated 1.4.14 ← 1.4.12 diff Apr 29, 2021
updated 1.4.12 ← 1.4.11 diff Nov 18, 2020
updated 1.4.11 ← 1.4.10 diff Nov 12, 2020
updated 1.4.10 ← 1.4.9 diff May 11, 2020
updated 1.4.9 ← 1.4.8 diff Mar 1, 2020