Learn R Programming

testthatdocs (version 1.0.23)

Automated and Idempotent Unit Tests Documentation for Reproducible Quality Assurance

Description

Automates documentation of test_that() calls within R test files. The package scans test sources, extracts human-readable test titles (even when composed with functions like paste() or glue::glue(), ... etc.), and generates reproducible roxygen2-style listings that can be inserted both globally and per-section. It ensures idempotent updates and supports customizable numbering templates with hierarchical indices. Designed for developers, QA teams, and package maintainers seeking consistent, self-documenting test inventories.

Copy Link

Version

Install

install.packages('testthatdocs')

Monthly Downloads

135

Version

1.0.23

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Rafal Urniaz

Last Published

October 21st, 2025

Functions in testthatdocs (1.0.23)

document_file

Generate idempotent listings of test_that() titles with sections
document

Recursively generate test listings across a testthat tree