tests/README.md

Tests and Coverage

19 October, 2021 22:05:15

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

| Object | Coverage (%) | | :-------------------------------------------------------- | :----------: | | equatiomatic | 95.57 | | R/shiny.R | 0.00 | | R/print.R | 24.00 | | R/distribution-wrapping.R | 90.91 | | R/extract_lhs.R | 93.78 | | R/merMod.R | 95.25 | | R/extract_eq.R | 96.05 | | R/utils.R | 97.87 | | R/create_eq.R | 99.27 | | R/extract_rhs.R | 99.31 | | R/helpers_forecast.R | 100.00 |

Unit Tests

Unit Test summary is created using the testthat package.

| file | n | time | error | failed | skipped | warning | | :---------------------------------------------------------------- | -: | ----: | ----: | -----: | ------: | ------: | | test-clm.R | 19 | 0.093 | 0 | 0 | 0 | 0 | | test-fontsize.R | 9 | 0.005 | 0 | 0 | 0 | 0 | | test-forecast-arima.R | 4 | 0.002 | 0 | 0 | 0 | 0 | | test-glm.R | 23 | 0.010 | 0 | 0 | 0 | 0 | | test-glmerMod.R | 9 | 0.005 | 0 | 0 | 0 | 0 | | test-lm.R | 18 | 0.003 | 0 | 0 | 0 | 0 | | test-lmerMod.R | 41 | 0.036 | 0 | 0 | 0 | 0 | | test-polr.R | 13 | 0.010 | 0 | 0 | 0 | 0 | | test-print.R | 4 | 0.002 | 0 | 0 | 0 | 0 | | test-utils.R | 8 | 0.004 | 0 | 0 | 0 | 0 | | test-wrapping-formatting.R | 10 | 0.006 | 0 | 0 | 0 | 0 |

Show Detailed Test Results

| file | context | test | status | n | time | | :----------------------------------------------------------------- | :------ | :---------------------------------------------------------- | :----- | -: | ----: | | test-clm.R | | colorizing works | PASS | 1 | 0.061 | | test-clm.R | | Renaming Variables works | PASS | 2 | 0.020 | | test-clm.R | | Math extraction works | PASS | 4 | 0.004 | | test-clm.R | | Collapsing clm factors works | PASS | 6 | 0.003 | | test-clm.R | | Ordered models with clm work | PASS | 5 | 0.003 | | test-clm.R | | Unsupported CLMs create a message | PASS | 1 | 0.002 | | test-fontsize.R | | font-size changes, lm | PASS | 3 | 0.002 | | test-fontsize.R | | font-size changes, lmer | PASS | 3 | 0.001 | | test-fontsize.R | | font-size changes, arima | PASS | 3 | 0.002 | | test-forecast-arima.R | | Basic ARIMA model functions | PASS | 2 | 0.001 | | test-forecast-arima.R | | Regression w/ ARIMA Errors functions | PASS | 2 | 0.001 | | test-glm.R | | colorizing works | PASS | 4 | 0.001 | | test-glm.R | | Renaming Variables works | PASS | 1 | 0.000 | | test-glm.R | | Math extraction works | PASS | 2 | 0.001 | | test-glm.R | | Collapsing glm factors works | PASS | 4 | 0.002 | | test-glm.R | | Logistic regression works | PASS | 1 | 0.000 | | test-glm.R | | Probit regression works | PASS | 2 | 0.002 | | test-glm.R | | Unsupported GLMs create a message | PASS | 1 | 0.000 | | test-glm.R | | Distribution-based equations work | PASS | 3 | 0.001 | | test-glm.R | | Weights work | PASS | 1 | 0.001 | | test-glm.R | | non-binomial regression works | PASS | 4 | 0.002 | | test-glmerMod.R | | Checking for random/fixed effects works | PASS | 1 | 0.001 | | test-glmerMod.R | | colorizing works | PASS | 2 | 0.001 | | test-glmerMod.R | | Renaming Variables works | PASS | 1 | 0.000 | | test-glmerMod.R | | Standard Poisson regression models work | PASS | 2 | 0.001 | | test-glmerMod.R | | Poisson regression models with an offset work | PASS | 2 | 0.001 | | test-glmerMod.R | | Binomial Logistic Regression models work | PASS | 1 | 0.001 | | test-lm.R | | Overlapping names don’t result in an error | PASS | 1 | 0.000 | | test-lm.R | | Dropping intercept notation works | PASS | 1 | 0.001 | | test-lm.R | | colorizing works | PASS | 1 | 0.000 | | test-lm.R | | Renaming Variables works | PASS | 1 | 0.000 | | test-lm.R | | Math extraction works | PASS | 3 | 0.001 | | test-lm.R | | Collapsing lm factors works | PASS | 2 | 0.000 | | test-lm.R | | Labeling works | PASS | 1 | 0.000 | | test-lm.R | | Simple lm models work | PASS | 3 | 0.001 | | test-lm.R | | Interactions work | PASS | 2 | 0.000 | | test-lm.R | | Custom Greek works | PASS | 2 | 0.000 | | test-lm.R | | Hat is escaped correctly | PASS | 1 | 0.000 | | test-lmerMod.R | | Checking for random/fixed effects works | PASS | 1 | 0.001 | | test-lmerMod.R | | colorizing works | PASS | 3 | 0.001 | | test-lmerMod.R | | Math extraction works | PASS | 4 | 0.006 | | test-lmerMod.R | | Implicit ID variables are handled | PASS | 1 | 0.001 | | test-lmerMod.R | | Renaming Variables works | PASS | 1 | 0.001 | | test-lmerMod.R | | Really big models work | PASS | 1 | 0.001 | | test-lmerMod.R | | Categorical variable level parsing works (from issue #140) | PASS | 1 | 0.001 | | test-lmerMod.R | | Unconditional lmer models work | PASS | 3 | 0.004 | | test-lmerMod.R | | Level 1 predictors work | PASS | 2 | 0.002 | | test-lmerMod.R | | Mean separate works as expected | PASS | 2 | 0.001 | | test-lmerMod.R | | Wrapping works as expected | PASS | 1 | 0.002 | | test-lmerMod.R | | Unstructured variance-covariances work as expected | PASS | 5 | 0.003 | | test-lmerMod.R | | Group-level predictors work as expected | PASS | 3 | 0.002 | | test-lmerMod.R | | Interactions work as expected | PASS | 5 | 0.004 | | test-lmerMod.R | | Alternate random effect VCV structures work | PASS | 3 | 0.002 | | test-lmerMod.R | | Nested model syntax works | PASS | 3 | 0.002 | | test-lmerMod.R | | use_coef works | PASS | 1 | 0.001 | | test-lmerMod.R | | return variances works | PASS | 1 | 0.001 | | test-polr.R | | colorizing works | PASS | 1 | 0.001 | | test-polr.R | | Renaming Variables works | PASS | 1 | 0.001 | | test-polr.R | | Math extraction works | PASS | 2 | 0.002 | | test-polr.R | | Collapsing polr factors works | PASS | 4 | 0.003 | | test-polr.R | | Ordered logistic regression works | PASS | 5 | 0.003 | | test-print.R | | Equation is printed correctly | PASS | 2 | 0.001 | | test-print.R | | Equation is knit_print-ed correctly | PASS | 2 | 0.001 | | test-utils.R | | Strict mapply_* functions work | PASS | 8 | 0.004 | | test-wrapping-formatting.R | | Coefficient digits work correctly | PASS | 2 | 0.001 | | test-wrapping-formatting.R | | Wrapping works correctly | PASS | 8 | 0.005 |

Session Info

| Field | Value | | | :------- | :-------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Version | R version 4.1.1 (2021-08-10) | | | Platform | x86_64-apple-darwin17.0 (64-bit) | | | Running | macOS Catalina 10.15.7 | | | Language | en_US | | | Timezone | UTC | |

| Package | Version | | :------- | :------ | | testthat | 3.1.0 | | covr | 3.5.1 | | covrpage | 0.1 |



Try the equatiomatic package in your browser

Any scripts or data that you put into this service are public.

equatiomatic documentation built on Jan. 31, 2022, 1:06 a.m.