Package: ttdo 0.0.10

ttdo: Extend 'tinytest' with 'diffobj' and 'tinysnapshot'

The 'tinytest' package offers a light-weight zero-dependency unit-testing framework to which this package adds support via the 'diffobj' package for 'diff'-style textual comparison of R objects, as well as via 'tinysnapshot' package for visual differences in plots.

Authors:Dirk Eddelbuettel [aut, cre], Alton Barbehenn [aut]

ttdo_0.0.10.tar.gz
ttdo_0.0.10.zip(r-4.5)ttdo_0.0.10.zip(r-4.4)ttdo_0.0.10.zip(r-4.3)
ttdo_0.0.10.tgz(r-4.4-any)ttdo_0.0.10.tgz(r-4.3-any)
ttdo_0.0.10.tar.gz(r-4.5-noble)ttdo_0.0.10.tar.gz(r-4.4-noble)
ttdo_0.0.10.tgz(r-4.4-emscripten)ttdo_0.0.10.tgz(r-4.3-emscripten)
ttdo.pdf |ttdo.html
ttdo/json (API)
NEWS

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

Bug tracker:https://github.com/eddelbuettel/ttdo/issues

On CRAN:

diffunit-testing

5.20 score 21 stars 2 scripts 330 downloads 14 exports 9 dependencies

Last updated 30 days agofrom:9cebe5b7b3. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 24 2025
R-4.5-winOKFeb 19 2025
R-4.5-linuxOKJan 24 2025
R-4.4-winOKJan 24 2025
R-4.4-macOKJan 24 2025
R-4.3-winOKJan 24 2025
R-4.3-macOKJan 24 2025

Exports:expect_equal_with_diffexpect_equal_xlexpect_equivalent_with_diffexpect_equivalent_xlexpect_error_xlexpect_false_xlexpect_identical_xlexpect_message_xlexpect_null_xlexpect_silent_xlexpect_true_xlexpect_visual_equal_with_diffexpect_warning_xlmakeDataFrame

Dependencies:base64enccrayoncurldiffobjmagickmagrittrRcpptinysnapshottinytest

Readme and manuals

Help Manual

Help pageTopics
Test for equality with explicit differenceexpect_equal_with_diff expect_equivalent_with_diff
Extensions of equality tests for tinytestexpect_equal_xl expect_equivalent_xl expect_identical_xl
Test for plot equality with 'diff' generationexpect_visual_equal_with_diff
Convert tinytest results to data.framemakeDataFrame
Extensions of boolean and messaging tests from tinytestexpect_error_xl expect_false_xl expect_message_xl expect_null_xl expect_silent_xl expect_true_xl expect_warning_xl ttdo_boolean_and_message_tests