Package: unitizer 1.4.23

unitizer: Interactive R Unit Tests

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.

Authors:Brodie Gaslam [aut, cre], Michael https://github.com/MichaelChirico [ctb], R Core Team [cph]

unitizer_1.4.23.tar.gz
unitizer_1.4.23.zip(r-4.7)unitizer_1.4.23.zip(r-4.6)unitizer_1.4.23.zip(r-4.5)
unitizer_1.4.23.tgz(r-4.6-any)unitizer_1.4.23.tgz(r-4.5-any)
unitizer_1.4.23.tar.gz(r-4.7-any)unitizer_1.4.23.tar.gz(r-4.6-any)
unitizer_1.4.23.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
unitizer/json (API)
NEWS

# Install 'unitizer' in R:
install.packages('unitizer', repos = c('https://brodieg.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/brodieg/unitizer/issues

On CRAN:

Conda:

unit-testing

7.55 score 39 stars 92 scripts 3.3k downloads 1 mentions 30 exports 2 dependencies

Last updated from:5ecb9c4efe. Checks:7 OK, 2 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK206
source / vignettesOK164
linux-release-x86_64OK197
macos-release-arm64OK182
macos-oldrel-arm64OK159
windows-develERROR116
windows-releaseERROR113
windows-oldrelOK280
wasm-releaseOK105

Exports:[Press ENTER to Continue]all_eqall.equalappendconditionListcopy_fastlm_to_tmpdirdesceditCallsfilename_to_storeidget_unitizerhealEnvsin_pkginfer_unitizer_locationmock_itemrepair_environmentsreviewset_unitizershowshow_filestatetestFunstestthat_translate_dirtestthat_translate_filetestthat_translate_nameunitizeunitize_dirunitizer_check_demo_stateunitizer_cleanup_demounitizer_sectupdate_fastlm

Dependencies:crayondiffobj

unitizeR - Summary of Vignettes

Rendered fromu0_unitizer_index.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2020-03-02
Started: 2018-01-06

unitizer - Interactive R Unit Tests

Rendered fromu1_intro.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2022-03-23
Started: 2018-01-06

unitizeR - Test Details

Rendered fromu2_tests.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2022-03-23
Started: 2018-01-06

unitizeR - The Interactive Environment

Rendered fromu3_interactive-env.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2021-08-02
Started: 2018-01-06

unitizeR - Reproducible Tests

Rendered fromu4_reproducible-tests.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2022-03-23
Started: 2018-01-06

unitizeR - Miscellanea

Rendered fromu5_miscellaneous.Rmdusingknitr::rmarkdownon May 20 2026.

Last update: 2022-03-23
Started: 2020-03-02

Readme and manuals

Help Manual

Help pageTopics
Retrieve Test Contents From Test Item$,unitizerItem-method $.unitizerItem [[,unitizerItem,ANY-method
Like all.equal but Returns Empty String If Not all.equalall_eq
Compare Conditionsall.equal,condition,ANY-method all.equal,conditionList,ANY-method all.equal.condition all.equal.conditionList
Contains A List of ConditionsconditionList conditionList-class
One Line Description of Objectdesc
Edit Calls In UnitizereditCalls editCalls,unitizer,language,language-method
Create a Store ID from a Test File Namefilename_to_storeid
Fix Environment AncestrieshealEnvs healEnvs,unitizerItems,unitizer-method
Infers Possible Unitizer Path From Contextinfer_unitizer_location infer_unitizer_location.character infer_unitizer_location.default
Generates a Dummy Item For Use in Examplesmock_item
Repair Environment Chainsrepair_environments
Set and Retrieve Store Contentsget_unitizer get_unitizer.character get_unitizer.default get_unitizer.unitizer_result get_unitizer.unitizer_results set_unitizer
Prints A list of Conditionsshow,conditionList-method show.conditionList
Store Functions for New vs. Reference Test ComparisonstestFuns
Convert a 'testthat' Test File to a 'unitizer'testthat_translate_dir testthat_translate_file testthat_translate_name
Unitize an R Test Scriptreview unitize unitize_dir
unitizerunitizer-package unitizer
Demo Details and Helper Functionscopy_fastlm_to_tmpdir show_file unitizer_check_demo_state unitizer_cleanup_demo unitizer_demo update_fastlm [Press ENTER to Continue]
Return Values and Related Methods for 'unitize' Functionsprint.unitizer_result print.unitizer_results unitizer_result unitizer_results
Define a 'unitizer' Sectionunitizer_sect
Unitizer Optionsunitizer.opts
S4 Object To Implement Base List MethodsunitizerList
Tests and Session Statein_pkg state state, unitizerState