{"id":14068272,"url":"https://github.com/eddelbuettel/ttdo","last_synced_at":"2025-03-16T20:31:18.719Z","repository":{"id":48900695,"uuid":"204475862","full_name":"eddelbuettel/ttdo","owner":"eddelbuettel","description":"Extend tinytest with diffobj","archived":false,"fork":false,"pushed_at":"2025-01-23T23:48:15.000Z","size":423,"stargazers_count":21,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T11:48:35.155Z","etag":null,"topics":["diff","package","r","unit-testing"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddelbuettel.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-26T12:56:26.000Z","updated_at":"2025-01-23T23:48:19.000Z","dependencies_parsed_at":"2024-05-31T21:54:24.093Z","dependency_job_id":"60f3036d-f4c4-4ea7-a541-02252a9ef887","html_url":"https://github.com/eddelbuettel/ttdo","commit_stats":{"total_commits":40,"total_committers":4,"mean_commits":10.0,"dds":0.25,"last_synced_commit":"64accbcad8af94c5ac224a8212c4a811d1720ad1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fttdo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fttdo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fttdo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fttdo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddelbuettel","download_url":"https://codeload.github.com/eddelbuettel/ttdo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830912,"owners_count":20354848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diff","package","r","unit-testing"],"created_at":"2024-08-13T07:06:03.972Z","updated_at":"2025-03-16T20:31:18.703Z","avatar_url":"https://github.com/eddelbuettel.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"## ttdo: Extend 'tinytest' with 'diffobj'\n\n[![CI](https://github.com/eddelbuettel/ttdo/workflows/ci/badge.svg)](https://github.com/eddelbuettel/ttdo/actions?query=workflow%3Aci)\n[![License](https://eddelbuettel.github.io/badges/GPL2+.svg)](https://www.gnu.org/licenses/gpl-2.0.html) \n[![CRAN](https://www.r-pkg.org/badges/version/ttdo)](https://cran.r-project.org/package=ttdo)\n[![r-universe](https://eddelbuettel.r-universe.dev/badges/ttdo)](https://eddelbuettel.r-universe.dev/ttdo)\n[![Dependencies](https://tinyverse.netlify.app/badge/ttdo)](https://cran.r-project.org/package=ttdo) \n[![Downloads](https://cranlogs.r-pkg.org/badges/ttdo?color=brightgreen)](https://www.r-pkg.org/pkg/ttdo)\n[![Last Commit](https://img.shields.io/github/last-commit/eddelbuettel/ttdo)](https://github.com/eddelbuettel/ttdo)\n\n### What is it?\n\nA package to extend [tinytest](https://cran.r-project.org/package=tinytest), a lightweight, no-dependency, full-featured unit testing package, with\n[diffobj](https://cran.r-project.org/package=diffobj) which compares [R](https://www.R-Project.org) objects with proper `diff` semantics.\n\nSo it _tests and compares_ and, in case of differences, provides _informative results_.\n\n### What does that look like?\n\nGlad you asked:\n\n![](https://eddelbuettel.github.io/ttdo/ttdoDemo.png)\n\nTo test it out yourself, the code is in\n[demo/expect_equal_with_diff.R](https://github.com/eddelbuettel/ttdo/blob/master/demo/expect_equal_with_diff.R).\nIf you don't see the same results as above, you may need to manually adjust the\ndiffobj package options. Try `options(diffobj.format = \"ansi256\")`. See\n[Controlling Diffs and Their\nAppearance](https://cran.r-project.org/package=diffobj/vignettes/diffobj.html#controlling-diffs-and-their-appearance)\nfor more details.\n\n### How do install it?\n\nThe package is now on [CRAN](https://cran.r-project.org) and can be installed\nvia a standard\n\n```r\ninstall.packages(\"ttdo\")\n```\n\n### Who wrote it?\n\nDirk Eddelbuettel and Alton Barbehenn\n\n### What license?\n\nGPL (\u003e= 2)\n\n### Thanks go to\n\nMark van der Loo for the excellent\n[tinytest](https://cran.r-project.org/package=tinytest) package, Brodie\nGaslam for the nifty [diffobj](https://cran.r-project.org/package=diffobj)\npackage and Michel Lang for\n[checkmate.tinytest](https://github.com/mllg/checkmate.tinytest)\ndemonstrating the extensions mechanism.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fttdo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddelbuettel%2Fttdo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fttdo/lists"}