xpectr
Generates Expectations for 'testthat' Unit Testing
v0.4.5
·
May 12, 2026
·
MIT + file LICENSE
Description
Helps systematize and ease the process of building unit tests with the 'testthat' package by providing tools for generating expectations.
Downloads
CRAN
624
Last 30 days
5224th
1.7K
Last 90 days
12.5K
Last year
Trend: +6.3% (30d vs prior 30d)
r2u
CRAN
16
Last 30 days
32
Last 90 days
107
Last year
Trend: +6.7% (30d vs prior 30d)
CRAN Check Status
13
OK
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 16, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 23, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
tests
Running ‘testthat.R’ [5s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(xpectr)
>
> test_check("xpectr")
Saving _problems/test_gxs_function-633.R
Saving _problems/test_gxs_selection-857
...[truncated]...
able expectations are created properly with gxs_selection() ──
Expected `output_15496` to equal `list(...)`.
Differences:
Component 9: 1 string mismatch
[ FAIL 2 | WARN 0 | SKIP 2 | PASS 840 ]
Error:
! Test failures.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Reverse Dependencies (4)
imports
suggests
Dependency Network
Version History
11 tracked
new
0.4.4
Mar 10, 2026
new
0.1.0
Feb 28, 2020