Repository navigation
Releases
Releases · mpadge/autotest
CRAN v0.2
autotest 0.2
New features
- Replaced the entire YAML/example-parsing pipeline that underpinned autotesting since 0.0.x with one built on
typetracer:autotest_package()now traces actual calls
made in a package's examples, tests, and vignettes, rather than statically parsing and re-executing example code. - Reimplemented the untested-function/untested-parameter checks on top of the new trace-based data.
- Added a
progressparameter toautotest_package(), replacingquiet, for finer control over console output. - Suppressed plot/PDF file artifacts and progress-bar noise generated while
autotest_package()runs.
Bug fixes and minor improvements
- Fixed formals lookup and package-reload gaps uncovered while merging typetracer.
- Fixed resolution of unexported functions during autotesting.
- Fixed namespace-qualified (
pkg::fn) call tracing. - Fixed parameter parsing/cleanup left over from the old yaml-based
get_params/scrape-examples.Rcode. - Removed now-orphaned internals from the old pipeline (
yaml_handlers(),R/parse-yaml.R,R/example-objects.R,
R/text-parsing-fns.R, and other unused yaml-parsing code). - Switched to
checkmatefor input assertion checks. - Renamed the
packageparameter topkgfor consistency.