asympDiag
Diagnostic Tools for Asymptotic Theory
Description
Leveraging Monte Carlo simulations, this package provides tools for diagnosing regression models. It implements a parametric bootstrap framework to compute statistics, generates diagnostic envelopes to assess goodness-of-fit, and evaluates type I error control for Wald tests. By simulating data under the assumption that the model is true, it helps to identify model mis-specifications and enhances the reliability of the model inferences.
Downloads
273
Last 30 days
16996th
672
Last 90 days
3K
Last year
Trend: +59.7% (30d vs prior 30d)
7
Last 30 days
34
Last 90 days
130
Last year
Trend: -36.4% (30d vs prior 30d)
4
Last 7 days
23
Last 30 days
2
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
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 | ERROR |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | ERROR |
Check details (2 non-OK)
tests
Running ‘testthat.R’ [9s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(asympDiag)
>
> test_check("asympDiag")
Saving _problems/test-simulate_wald_pvalues-101.R
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 166 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-envelope.R:63:3', 'test-envelope.R:70:3',
'test-envelope.R:79:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-simulate_wald_pvalues.R:101:5'): simulate_wald_pvalues works with poisson with offset ──
Error in `plot.AD_pvalues(out, which = ncoef + 1)`: No p-value to plot.
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-simulate_wald_pvalues.R:99:3
2. │ └─base::withCallingHandlers(...)
3. └─asympDiag::simulate_wald_pvalues(fit, nsim = 5) at test-simulate_wald_pvalues.R:101:5
4. ├─base::plot(out, which = ncoef + 1)
5. └─asympDiag:::plot.AD_pvalues(out, which = ncoef + 1)
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 166 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(asympDiag)
>
> test_check("asympDiag")
Saving _problems/test-simulate_wald_pvalues-101.R
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 166 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-envelope.R:63:3', 'test-envelope.R:70:3',
'test-envelope.R:79:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-simulate_wald_pvalues.R:101:5'): simulate_wald_pvalues works with poisson with offset ──
Error in `plot.AD_pvalues(out, which = ncoef + 1)`: No p-value to plot.
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-simulate_wald_pvalues.R:99:3
2. │ └─base::withCallingHandlers(...)
3. └─asympDiag::simulate_wald_pvalues(fit, nsim = 5) at test-simulate_wald_pvalues.R:101:5
4. ├─base::plot(out, which = ncoef + 1)
5. └─asympDiag:::plot.AD_pvalues(out, which = ncoef + 1)
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 166 ]
Error:
! Test failures.
Execution halted
Check History
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 21, 2026
tests
Running ‘testthat.R’ [9s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional t ...[truncated]... it, nsim = 5) at test-simulate_wald_pvalues.R:101:5 4. ├─base::plot(out, which = ncoef + 1) 5. └─asympDiag:::plot.AD_pvalues(out, which = ncoef + 1) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 166 ] Error: ! Test failures. Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
3,391
Files
43
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
15
Internal functions
37
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.69
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
No
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
–
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
4
First release
2025-03-26
Latest release
2026-07-02
Avg cadence
137 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.