Package: unitizer 1.4.21
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:
unitizer_1.4.21.tar.gz
unitizer_1.4.21.zip(r-4.5)unitizer_1.4.21.zip(r-4.4)unitizer_1.4.21.zip(r-4.3)
unitizer_1.4.21.tgz(r-4.4-any)unitizer_1.4.21.tgz(r-4.3-any)
unitizer_1.4.21.tar.gz(r-4.5-noble)unitizer_1.4.21.tar.gz(r-4.4-noble)
unitizer_1.4.21.tgz(r-4.4-emscripten)unitizer_1.4.21.tgz(r-4.3-emscripten)
unitizer.pdf |unitizer.html✨
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
Last updated 6 months agofrom:fac3c959c6. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 18 2024 |
R-4.5-win | NOTE | Nov 18 2024 |
R-4.5-linux | NOTE | Nov 18 2024 |
R-4.4-win | OK | Nov 18 2024 |
R-4.4-mac | OK | Nov 18 2024 |
R-4.3-win | OK | Nov 18 2024 |
R-4.3-mac | OK | Nov 18 2024 |
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
unitizeR - Summary of Vignettes
Rendered fromu0_unitizer_index.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2020-03-02
Started: 2018-01-06
unitizer - Interactive R Unit Tests
Rendered fromu1_intro.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2022-03-23
Started: 2018-01-06
unitizeR - Test Details
Rendered fromu2_tests.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2022-03-23
Started: 2018-01-06
unitizeR - The Interactive Environment
Rendered fromu3_interactive-env.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2021-08-02
Started: 2018-01-06
unitizeR - Reproducible Tests
Rendered fromu4_reproducible-tests.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2022-03-23
Started: 2018-01-06
unitizeR - Miscellanea
Rendered fromu5_miscellaneous.Rmd
usingknitr::rmarkdown
on Nov 18 2024.Last update: 2022-03-23
Started: 2020-03-02
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Retrieve Test Contents From Test Item | $,unitizerItem-method $.unitizerItem [[,unitizerItem,ANY-method |
Like all.equal but Returns Empty String If Not all.equal | all_eq |
Compare Conditions | all.equal,condition,ANY-method all.equal,conditionList,ANY-method all.equal.condition all.equal.conditionList |
Contains A List of Conditions | conditionList conditionList-class |
One Line Description of Object | desc |
Edit Calls In Unitizer | editCalls editCalls,unitizer,language,language-method |
Create a Store ID from a Test File Name | filename_to_storeid |
Fix Environment Ancestries | healEnvs healEnvs,unitizerItems,unitizer-method |
Infers Possible Unitizer Path From Context | infer_unitizer_location infer_unitizer_location.character infer_unitizer_location.default |
Generates a Dummy Item For Use in Examples | mock_item |
Repair Environment Chains | repair_environments |
Set and Retrieve Store Contents | get_unitizer get_unitizer.character get_unitizer.default get_unitizer.unitizer_result get_unitizer.unitizer_results set_unitizer |
Prints A list of Conditions | show,conditionList-method show.conditionList |
Store Functions for New vs. Reference Test Comparisons | testFuns |
Convert a 'testthat' Test File to a 'unitizer' | testthat_translate_dir testthat_translate_file testthat_translate_name |
Unitize an R Test Script | review unitize unitize_dir |
unitizer | unitizer-package unitizer |
Demo Details and Helper Functions | copy_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' Functions | print.unitizer_result print.unitizer_results unitizer_result unitizer_results |
Define a 'unitizer' Section | unitizer_sect |
Unitizer Options | unitizer.opts |
S4 Object To Implement Base List Methods | unitizerList |
Tests and Session State | in_pkg state state, unitizerState |