• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daniel1noble / BACE / 25330420143
91%

Build:
DEFAULT BRANCH: main
Ran 04 May 2026 04:31PM UTC
Jobs 1
Files 15
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 May 2026 04:28PM UTC coverage: 67.412% (+24.5%) from 42.923%
25330420143

push

github

daniel1noble
Add tests for simulate / convergence_diagnostics / convergence_plots / bace_options

Phase A + D-quick-wins of the test-coverage push from 24% -> 90%.
Local covr after this commit: 67.7% overall (was 24.1%).

Per-file impact:
  simulate_simBACE.R           0.0 -> 68.2  (+ 360 covered LOC)
  simulate_auxiliary.r         0.0 -> 52.4  (+ 133 covered LOC)
  convergence_diagnostics.R    0.0 -> 79.6  (+ 380 covered LOC)
  convergence_plots.R          0.0 -> 84.6  (+ 366 covered LOC)
  bace_option_setter_getter.r 11.4 -> 97.7  (+  56 covered LOC)
  accessors.R                 30.0 -> 96.7  (already mostly tested;
                                             the bump comes from
                                             tests touching the
                                             previously-skipped path)
  bace.R                       4.1 -> 58.8  (incidental coverage from
                                             the bace_imp fixtures
                                             used by convergence tests)

87 new tests across 4 files. All gated with skip_on_cran() where
they exercise MCMCglmm so CRAN check stays fast; the GHA workflow
already runs with NOT_CRAN=true so they execute in CI.

Test files:
  tests/testthat/test-simulate.R
    13 tests covering sim_bace + convenience wrappers
    (gaussian / poisson / binary), mixed predictor types,
    missingness application, print_sim_bace_summary, plus helper
    functions sim_tree / generate_default_beta_matrix /
    mnom_liab2cat / ordinal_liab2cat.

  tests/testthat/test-convergence_diagnostics.R
    17 tests covering assess_convergence() with each documented
    `method` value (summary / summary.acf / summary.percentage /
    summary.trend / summary.geweke / energy / wasserstein / all),
    input validation, variable filtering, and the
    print.bace_convergence S3 method.

  tests/testthat/test-convergence_plots.R
    14 tests covering plot.bace_convergence + every individual
    plot_*_convergenc... (continued)

2472 of 3667 relevant lines covered (67.41%)

50.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25330420143.1 04 May 2026 04:31PM UTC 15
67.41
GitHub Action Run
Source Files on build 25330420143
  • Tree
  • List 15
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25330420143
  • 421da4c5 on github
  • Prev Build on main (#25329845991)
  • Next Build on main (#25330902065)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc