Skip to content

Commit

Permalink
v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gorcha committed May 1, 2019
1 parent 74fb85c commit a34ff48
Show file tree
Hide file tree
Showing 30 changed files with 364 additions and 165 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
^_pkgdown\.yml$
^docs$
^pkgdown$
^README\.Rmd$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: testdat
Title: Data Unit Testing for R
Version: 0.0.0.9015
Version: 0.1.0
Authors@R:
c(person(given = "Danny",
family = "Smith",
Expand Down
54 changes: 54 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->

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

<!-- badges: start -->
[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
<!-- badges: end -->

## Overview

testdat is designed to ease data validation, particularly for complex data
processing, inspired by software unit testing. testdat extends the strong and
flexible unit testing framework already provided by
[testthat](https://testthat.r-lib.org/) with a family of functions and reporting
tools focused on checking of data frames.

Features include:

* A fully fledged test framework so you can spend more time specifying tests and
less time running them

* A set of common methods for simply specifying data validation rules

* Repeatability of data tests (avoid unintentionally breaking your dataset!)

* Data-focused reporting of test results

## Installation

You can install the released version of testdat from srclib with:

``` r
# srcproj::add_srclib()
install.packages("testdat")
```

And the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("socialresearchcentre/testdat")
```
39 changes: 27 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,46 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# testdat

<!-- badges: start -->
[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)

[![Lifecycle:
maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
<!-- badges: end -->

testdat is designed to ease data validation, particularly for complex data
processing, inspired by software unit testing. testdat extends the strong and
flexible unit testing framework already provided by
[testthat](https://testthat.r-lib.org/) with a family of functions and reporting
tools focused on checking of data frames.
## Overview

testdat is designed to ease data validation, particularly for complex
data processing, inspired by software unit testing. testdat extends the
strong and flexible unit testing framework already provided by
[testthat](https://testthat.r-lib.org/) with a family of functions and
reporting tools focused on checking of data frames.

Features include:

* A fully fledged test framework so you can spend more time specifying tests and
less time running them
- A fully fledged test framework so you can spend more time specifying
tests and less time running them

* A set of common methods for simply specifying data validation rules
- A set of common methods for simply specifying data validation rules

* Repeatability of data tests (avoid unintentionally breaking your dataset!)
- Repeatability of data tests (avoid unintentionally breaking your
dataset\!)

* Data-focused reporting of test results
- Data-focused reporting of test results

## Installation

You can install the released version of testdat from srclib with:

``` r
srcproj::add_srclib()
# srcproj::add_srclib()
install.packages("testdat")
```

And the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("socialresearchcentre/testdat")
```
2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a34ff48

Please sign in to comment.