Skip to content

Releases

CRAN v0.2

Choose a tag to compare

@mpadge mpadge released this 13 Sep 12:14

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 progress parameter to autotest_package(), replacing quiet, 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.R code.
  • 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 checkmate for input assertion checks.
  • Renamed the package parameter to pkg for consistency.