Package: testmath 0.1.0
testmath: Unit Tests for Mathematical Properties
Inspired by 'testthat', 'testmath' aims to provide some functions for unit tests of mathematical properties in a readable manner. At the moment, these functions cover a few aspects of two distinct areas - unit tests for matrices and functions. Failure should provide detailed information for what condition led to the test failing.
Authors:
testmath_0.1.0.tar.gz
testmath_0.1.0.zip(r-4.7-any)testmath_0.1.0.zip(r-4.6-any)
testmath_0.1.0.tar.gz(r-4.7-any)testmath_0.1.0.tar.gz(r-4.6-any)
testmath_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
testmath/json (API)
| # Install 'testmath' in R: |
| install.packages('testmath', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:ac0a8c4edc. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 101 | ||
| source / vignettes | OK | 140 | ||
| linux-release | OK | 83 | ||
| windows-devel | OK | 57 | ||
| windows-release | OK | 72 | ||
| wasm-release | OK | 84 |
Exports:expect_diagonalexpect_idempotentexpect_involutoryexpect_n_idempotentexpect_n_involutoryexpect_orthogonalexpect_periodicexpect_psdexpect_spdexpect_symmetric
Dependencies:briocallrclicrayondescdiffobjevaluatefsgluejsonlitelifecyclemagrittrotelpkgbuildpkgloadpraiseprocessxpsR6rlangrprojroottestthatwaldowithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Do you expect a matrix to be diagonal? | expect_diagonal |
| Do you expect a function to be idempotent? | expect_idempotent |
| Do you expect a function to be involutory? | expect_involutory |
| Do you expect a function to be n-idempotent? | expect_n_idempotent |
| Do you expect a function to be n-involutory? | expect_n_involutory |
| Do you expect a matrix to be orthogonal? | expect_orthogonal |
| Do you expect a function to be periodic? | expect_periodic |
| Do you expect a matrix to be positive semidefinite? | expect_psd |
| Do you expect a matrix to be symmetric positive definite? | expect_spd |
| Do you expect a matrix to be symmetric? | expect_symmetric |
