A new minor release of our ttdo package arrived on CRAN a few days ago. The ttdo package extends the excellent (and very minimal / zero depends) unit testing package tinytest by Mark van der Loo with the very clever and well-done diffobj package by Brodie Gaslam to give us test results with visual diffs (as shown in the screenshot below) which seemingly is so compelling an idea that it eventually got copied by another package which shall remain unnamedā¦
This release adds a versioned dependency on the just released tinytest version 1.4.1. As we extend tinytest (for use in the autograder we deploy within the lovely PrairieLearn framework) by consuming the tinytest code we have to update in sync.
There were no other code changes in the package beside the usual maintenance of badges and continuous integration setup.
As usual, the NEWS entry follows.
Changes in ttdo version 0.0.9 (2023-02-21)
Minor cleanup in README.md
Minor continuous integration update
Updated (versioned) depends on tinytest to 1.4.1
My CRANberries provides the usual summary of changes to the previous version. Please use the GitHub repo and its issues for any questions.
If you like this or other open-source work I do, you can now sponsor me at GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A new (and genuinely) minor release of our ttdo package arrived on CRAN today. The ttdo package extends the most excellent (and very minimal / zero depends) unit testing package tinytest by Mark van der Loo with the very clever and well-done diffobj package by Brodie Gaslam to give us test results with visual diffs (as shown in the screenshot below) which seemingly is so compelling an idea that it eventually got copied by another packageā¦
This release cleans up one microscopic wart of an R warning when installing and byte-compiling the package due to a sprintf
call with an unused argument.
And once again, this release gets a #ThankYouCRAN
mark as it was processed in a fully automated and intervention-free manner in a matter of minutes.
As usual, the NEWS entry follows.
Changes in ttdo version 0.0.8 (2021-07-17)
- Expand sprintf template to suppress R warning
CRANberries provides the usual summary of changes to the previous version. Please use the GitHub repo and its issues for any questions.
If you like this or other open-source work I do, you can now sponsor me at GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A new minor release of our ttdo package arrived on CRAN today. The ttdo package extends the most excellent (and very minimal / zero depends) unit testing package tinytest by Mark van der Loo with the very clever and well-done diffobj package by Brodie Gaslam to give us test results with visual diffs (as shown in the screenshot here) which seemingly is so compelling an idea that another package decided to copied it more recently:
This release is mostly procedural to accomodate changes in tinytest 1.3.1 released today, and brought to us via a pull request by Mark himself. Other than that we also updated the CI runner to use r-ci and accomodated new CRAN check for a superfluous LazyData:
field in a package without a data/
directory.
This release also gets another #ThankYouCRAN
mark as it was once again fully automated and intervention-free (once the new tinytest release hit CRAN).
As usual, the NEWS entry follows.
Changes in ttdo version 0.0.7 (2021-07-06)
CRANberries provides the usual summary of changes to the previous version. Please use the GitHub repo and its issues for any questions.
If you like this or other open-source work I do, you can now sponsor me at GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A bugfix release of our (still small) ttdo package arrived on CRAN overnight. As introduced last fall, the ttdo package extends the most excellent (and very minimal / zero depends) unit testing package tinytest by Mark van der Loo with the very clever and well-done diffobj package by Brodie Gaslam to give us test results with visual diffs:
This release corrects a minor editing error spotted by the ever-vigilant John Blischak.
The NEWS entry follow.
Changes in ttdo version 0.0.6 (2020-07-27)
- Correct a minor editing mistake spotted by John Blischak.
CRANberries provides the usual summary of changes to the previous version. Please use the GitHub repo and its issues for any questions.
If you like this or other open-source work I do, you can now sponsor me at GitHub. For the first year, GitHub will match your contributions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A maintenance release of our (still small) ttdo package just arrived on CRAN. As introduced last fall, the ttdo package extends the most excellent (and very minimal / zero depends) unit testing package tinytest by Mark van der Loo with the very clever and well-done diffobj package by Brodie Gaslam to give us test results with visual diffs:
tinytest has an extension mechanism we use, and as tinytest was just upgraded to version 1.2.0 changing, among other nice extensions, one interface by allowing for a new error class
argument, we had to rebuild as well in order to document the new argument.
The release was actually prepared three days ago when tinytest itself was updated, but we waited for the binaries at CRAN to be updated and rebuilt to take advantage of the fully automated submission and test process at CRAN.
The NEWS entry follow.
Changes in ttdo version 0.0.5 (2020-05-06)
- Rebuilt under tinytest 1.2.0 to add support for
class
argument in error-code test predicates
CRANberries provides the usual summary of changes to the previous version. Please use the GitHub repo and its issues for any questions.
If you like this or other open-source work I do, you can now sponsor me at GitHub. For the first year, GitHub will match your contributions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A first update release to the still very new (and still very small) ttdo package arrived on CRAN today. Introduced about two months ago in September, the ttdo package extends the most excellent (and very minimal / zero depends) unit testing package tinytest by Mark van der Loo with the very clever and well-done diffobj package by Brodie Gaslam.
Just how the package creation was motivated by our needs in teaching STAT 430 at Illinois, so does the extension code in this release which generalized how we extend the tinytest test predicates with additional arguments which help in the use of the PrairieLearn system (developed at Illinois) to provide tests, quizzes or homework. This release is mostly the work of Alton who is now also a coauthor.
The NEWS entries follow.
Changes in ttdo version 0.0.4 (2019-11-18)
Generalize tinytest extensions with additional arguments for test predicates (Alton in #2).
Use Travis CI for continuous integration off GitHub (Dirk).
Please use the GitHub repo and its issues for any questions.
If you like this or other open-source work I do, you can now sponsor me at GitHub. For the first year, GitHub will match your contributions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
A new package of mine arrived on CRAN yesterday, having been uploaded a few days prior on the weekend. It extends the most excellent (and very minimal / zero depends) unit testing package tinytest by Mark van der Loo with the very clever and well-done diffobj package by Brodie Gaslam. Mark also tweeted about it.
The package was written to address a fairly specific need. In teaching STAT 430 at Illinois, I am relying on the powerful PrairieLearn system (developed there) to provides tests, quizzes or homework. Alton and I have put together an autograder for R (which is work in progress, more on that maybe another day), and that uses this package to provides colorized differences between supplied and expected answers in case of an incorrect answer.
Now, the aspect of providing colorized diffs when tests do not evalute to TRUE
is both simple and general enough. As our approach works rather well, I decided to offer the package on CRAN as well. The small screenshot gives a simple idea, the README.md contains a larger screenshoot.
The initial NEWS entries follow below.
Changes in ttdo version 0.0.3 (2019-09-08)
- Added a simple demo to support initial CRAN upload.
Changes in ttdo version 0.0.2 (2019-08-31)
- Updated defaults for format and mode to use the same options used by diffobj along with fallbacks.
Changes in ttdo version 0.0.1 (2019-08-26)
- Initial version, with thanks to both Mark and Brodie.
Please use the GitHub repo and its issues for any questions.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.