-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
364 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ | ||
^README\.Rmd$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --> | ||
[](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") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --> | ||
[](https://www.tidyverse.org/lifecycle/#maturing) | ||
|
||
[](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") | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.