Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hughjonesd/doctest

Generate tests from examples using 'roxygen' and 'testthat'
https://github.com/hughjonesd/doctest

Last synced: 4 days ago
JSON representation

Generate tests from examples using 'roxygen' and 'testthat'

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# Doctest

[![R-CMD-check](https://github.com/hughjonesd/doctest/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/hughjonesd/doctest/actions/workflows/R-CMD-check.yaml)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![Codecov test coverage](https://codecov.io/gh/hughjonesd/doctest/branch/master/graph/badge.svg)](https://app.codecov.io/gh/hughjonesd/doctest?branch=master)
![runiverse-package badge](https://hughjonesd.r-universe.dev/badges/doctest)
[![CRAN status](https://www.r-pkg.org/badges/version/doctest)](https://CRAN.R-project.org/package=doctest)

```{r, child="man/rmd/intro.Rmd"}
```

```{r, child="man/rmd/example.Rmd"}
```

```{r, child="man/rmd/usage.Rmd"}
```

For more information, see the [package vignette](https://hughjonesd.github.io/doctest/articles/doctest.html).