Package: modeltests 0.1.6.9000
modeltests: Testing Infrastructure for Broom Model Generics
Provides a number of testthat tests that can be used to verify that tidy(), glance() and augment() methods meet consistent specifications. This allows methods for the same generic to be spread across multiple packages, since all of those packages can make the same guarantees to users about returned objects.
Authors:
modeltests_0.1.6.9000.tar.gz
modeltests_0.1.6.9000.zip(r-4.5)modeltests_0.1.6.9000.zip(r-4.4)modeltests_0.1.6.9000.zip(r-4.3)
modeltests_0.1.6.9000.tgz(r-4.4-any)modeltests_0.1.6.9000.tgz(r-4.3-any)
modeltests_0.1.6.9000.tar.gz(r-4.5-noble)modeltests_0.1.6.9000.tar.gz(r-4.4-noble)
modeltests_0.1.6.9000.tgz(r-4.4-emscripten)modeltests_0.1.6.9000.tgz(r-4.3-emscripten)
modeltests.pdf |modeltests.html✨
modeltests/json (API)
NEWS
# Install 'modeltests' in R: |
install.packages('modeltests', repos = c('https://alexpghayes.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alexpghayes/modeltests/issues
- argument_glossary - Allowed argument names in tidiers
- column_glossary - Allowed column names in tidied tibbles
Last updated 7 months agofrom:83528e27d2. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 30 2024 |
R-4.5-win | NOTE | Oct 30 2024 |
R-4.5-linux | NOTE | Oct 30 2024 |
R-4.4-win | OK | Oct 30 2024 |
R-4.4-mac | OK | Oct 30 2024 |
R-4.3-win | OK | Oct 30 2024 |
R-4.3-mac | OK | Oct 30 2024 |
Exports:acceptable_augment_colnamescheck_argumentscheck_augment_functioncheck_augment_newdata_precedencecheck_dimscheck_glance_outputscheck_tibblecheck_tidy_outputhas_rownames
Dependencies:briocallrclicrayondescdiffobjdigestdplyrevaluatefansifsgenericsgluejsonlitelifecyclemagrittrpillarpkgbuildpkgconfigpkgloadpraiseprocessxpspurrrR6rematch2rlangrprojroottestthattibbletidyselectutf8vctrswaldowithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Determine acceptable names for augment output | acceptable_augment_colnames |
Allowed argument names in tidiers | argument_glossary |
Check that tidying methods use allowed argument names | check_arguments |
Check an augment method | check_augment_function |
Check that newdata argument has higher precedence than data argument | check_augment_newdata_precedence |
Check an augment method when no data or newdata is passed | check_augment_no_data |
Check that tibble has expected dimensions. | check_dims |
Check the output of a glance method | check_glance_outputs |
Check the output of a tidying method | check_tibble |
Check the output of a tidy method | check_tidy_output |
Allowed column names in tidied tibbles | column_glossary |
Check whether or not a data-frame-like object has rownames | has_rownames |