unitizer1.4.23 package

Interactive R Unit Tests

all_eq

Like all.equal but Returns Empty String If Not all.equal

all.equal.condition

Compare Conditions

as.character-unitizerChanges-method

Print Out A Summary Of the Changes

as.character.bullet

Produce Character Vector Representation of Bullet Lists

as.expression-unitizerList-method

Coerce to expression by returning items coerced to expressions

cap_first

Captalizes or Decapitalizes First Letter

capture_output

Capture Both StdOut and StdErr

conditionList

Contains A List of Conditions

demo

Demo Details and Helper Functions

desc

One Line Description of Object

editCalls

Edit Calls In Unitizer

extract-unitizerItem-method

Retrieve Test Contents From Test Item

extract-unitizerItemTestsErrorsDiffs-method

Subsetting Methods for unitizerItemTestsErrorsDiffs objects

filename_to_storeid

Create a Store ID from a Test File Name

flattenUntz

Reduce S4 objects Into Lists

getFun

Utility Function

global_structures

Structures For Tracking Global Options

healEnvs

Fix Environment Ancestries

infer_unitizer_location

Infers Possible Unitizer Path From Context

invalidateLs

Clears ls Info and Marks as Invalid

length-unitizerChanges-method

Return Sum of Total Changes

length-unitizerSection-method

Compute Length of a unitizerSection-class

mock_item

Generates a Dummy Item For Use in Examples

nextItem-unitizerList-method

Iterate through items of a unitizerList ObjectJK

options_extra

Set Options to Initial Zero State

print.bullet

Print Methods for UL and OL objects

repair_environments

Repair Environment Chains

run_ls

Worker function to actually execute the ls work

set_unitizer

Set and Retrieve Store Contents

show-unitizerChanges-method

Print Out A Summary Of the Changes

show-unitizerItemTestsErrorsDiff-method

Show Method for unitizerItemTestsErrorsDiff objects

show-unitizerItemTestsErrorsDiffs-method

Show Method for unitizerItemTestsErrorsDiffs objects

show.conditionList

Prints A list of Conditions

sizeRDS

Measure object size as an RDS

sizeUntz

Utility To Examine Object Size

testFuns

Store Functions for New vs. Reference Test Comparisons

testthat_transcribe_file

Transcribes a testtaht File Into unitizer Format

testthat_translate_file

Convert a testthat Test File to a unitizer

text_wrap

Text Wrapping Utilities

unitize

Unitize an R Test Script

unitizer_ls

An ls Like Function

unitizer_prompt

Interactively Retrieve User Input

unitizer_result

Return Values and Related Methods for unitize Functions

unitizer_s4method_doc

Documentation Block for Internal S4 Methods

unitizer_sect

Define a unitizer Section

unitizer.opts

Unitizer Options

unitizer

unitizer

unitizerChanges-class

Summary of Changes

unitizerList

S4 Object To Implement Base List Methods

unitizerSection-class

Contains Representation For a Section of Tests

unitizerState

Tests and Session State

unitizerTests-class

Collections of Calls For Testing

valid_names

Make Valid Names

validate_pre_post

Helper function for validations

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.

  • Maintainer: Brodie Gaslam
  • License: GPL-2 | GPL-3
  • Last published: 2025-10-22