Package: testdat 0.4.4.9000

testdat: Data Unit Testing for R
Test your data! An extension of the 'testthat' unit testing framework with a family of functions and reporting tools for checking and validating data frames.
Authors:
testdat_0.4.4.9000.tar.gz
testdat_0.4.4.9000.zip(r-4.7)testdat_0.4.4.9000.zip(r-4.6)testdat_0.4.4.9000.zip(r-4.5)
testdat_0.4.4.9000.tgz(r-4.6-any)testdat_0.4.4.9000.tgz(r-4.5-any)
testdat_0.4.4.9000.tar.gz(r-4.7-any)testdat_0.4.4.9000.tar.gz(r-4.6-any)
testdat_0.4.4.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
testdat/json (API)
NEWS
| # Install 'testdat' in R: |
| install.packages('testdat', repos = c('https://socialresearchcentre.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/socialresearchcentre/testdat/issues
Pkgdown/docs site:https://socialresearchcentre.github.io
Last updated from:b48ff06379. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 142 | ||
| source / vignettes | OK | 186 | ||
| linux-release-x86_64 | OK | 145 | ||
| macos-release-arm64 | OK | 157 | ||
| macos-oldrel-arm64 | OK | 316 | ||
| windows-devel | OK | 100 | ||
| windows-release | OK | 88 | ||
| windows-oldrel | OK | 93 | ||
| wasm-release | OK | 104 |
Exports:%E>%all_ofany_ofchk_asciichk_blankchk_date_yyyychk_date_yyyymmchk_date_yyyymmddchk_dummychk_equalschk_filterchk_filter_allchk_filter_anychk_filter_varschk_filter_wherechk_labelschk_lengthchk_max_lengthchk_misschk_nmisschk_rangechk_regexchk_text_misschk_text_nmisschk_uniquechk_valuescontainscontext_dataends_witheverythingexpect_allexpect_allanyexpect_anyexpect_baseexpect_condexpect_customexpect_date_yyyyexpect_date_yyyymmexpect_date_yyyymmddexpect_dependsexpect_exclusiveexpect_funcexpect_joinexpect_labelsexpect_makeexpect_max_lengthexpect_prop_gteexpect_prop_lteexpect_prop_nmissexpect_prop_valuesexpect_rangeexpect_regexexpect_similarexpect_subsetexpect_text_missexpect_text_nmissexpect_uniqueexpect_unique_acrossexpect_unique_combineexpect_valmatchexpect_valuesexpect_wherefilter_expectget_testdatalast_colmatchesnum_rangeone_ofoutput_results_excelset_testdatastarts_withwith_testdata
Dependencies:briocallrclicrayondescdiffobjdplyrevaluatefsgenericsgluejsonlitelifecyclemagrittrpillarpkgbuildpkgconfigpkgloadpraiseprocessxpsR6rlangrprojrootstringistringrtestthattibbletidyselectutf8vctrswaldowithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Checks: dates | chk-dates chk_date_yyyy chk_date_yyyymm chk_date_yyyymmdd |
| Checks: dummy | chk-dummy chk_dummy |
| Checks: data frame helpers | chk-helper chk_filter chk_filter_all chk_filter_any |
| Checks: labels | chk-labels chk_labels |
| Checks: patterns | chk-patterns chk_max_length chk_regex |
| Checks: text | chk-text chk_ascii chk_text_miss chk_text_nmiss |
| Checks: uniqueness | chk-uniqueness chk_unique |
| Checks: values | chk-values chk_blank chk_equals chk_range chk_values |
| Expectations: consistency | conditional-expectations expect_base expect_cond |
| Expectations: comparisons | datacomp-expectations expect_subset expect_valmatch |
| Expectations: dates | date-expectations expect_date_yyyy expect_date_yyyymm expect_date_yyyymmdd |
| Expectations: exclusivity | exclusivity-expectations expect_exclusive |
| Expectations: functional dependency | expect_depends |
| Create an expectation from a check function | expect_make |
| Expectations: generic helpers | expect_all expect_any generic-expectations |
| Get/set test data | %E>% get_testdata global-data set_testdata with_testdata |
| Expectations: labels | expect_labels label-expectations |
| Output 'ListReporter' results in Excel format | output_results_excel |
| Expectations: patterns | expect_max_length expect_regex pattern-expectations |
| Expectations: proportions | expect_prop_gte expect_prop_lte expect_prop_nmiss expect_prop_values proportion-expectations |
| Expectations: text | expect_text_miss expect_text_nmiss text-expectations |
| Expectations: uniqueness | expect_unique expect_unique_across expect_unique_combine uniqueness-expectations |
| Expectations: values | expect_range expect_values value-expectations |
