Skip to content

Remove distributional optional dependency workaround#1059

Merged
nikosbosse merged 3 commits intomainfrom
issue-947-fix-distributional-dep
Feb 1, 2026
Merged

Remove distributional optional dependency workaround#1059
nikosbosse merged 3 commits intomainfrom
issue-947-fix-distributional-dep

Conversation

@seabbs-bot
Copy link
Collaborator

Summary

  • Removes the workaround for the {distributional} native pipe issue that has now been fixed upstream
  • The workaround was added in Update suggests #917 when {distributional} started using the native pipe |> which required R 4.1+
  • Since scoringutils now requires R >= 4.1 and the upstream fix is on CRAN, this removes:
    • The conditional ggdist installation in CI (ggdist=?ignore-before-r=4.1.0)
    • The conditional evaluation of ggdist chunks in the Deprecated-visualisations vignette
    • Moves library(ggdist) back to the setup chunk in the vignette

Closes #947

Test plan

  • CI passes on all R versions including R 4.1
  • Vignette builds successfully

This was opened by a bot. Please ping @seabbs for any questions.

@seabbs seabbs self-requested a review January 29, 2026 17:54
The {distributional} package has fixed the native pipe issue that
previously caused compatibility problems with R < 4.1. Since
scoringutils now requires R >= 4.1 and the upstream fix is on CRAN,
this removes:

- The conditional ggdist installation in CI (ignore-before-r=4.1.0)
- The conditional evaluation of ggdist chunks in the vignette
- Moves library(ggdist) back to the setup chunk

Closes #947
@seabbs-bot seabbs-bot force-pushed the issue-947-fix-distributional-dep branch from 4fa70a8 to d34d761 Compare January 30, 2026 10:59
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.83%. Comparing base (a9ca889) to head (476d554).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1059   +/-   ##
=======================================
  Coverage   97.83%   97.83%           
=======================================
  Files          35       35           
  Lines        1845     1845           
=======================================
  Hits         1805     1805           
  Misses         40       40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@seabbs seabbs requested a review from nikosbosse January 30, 2026 15:39
Copy link
Contributor

@seabbs seabbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Calling for a second review as this is just me and @seabbs-bot as it stands.

@seabbs seabbs requested a review from sbfnk January 30, 2026 16:06
Copy link
Collaborator

@nikosbosse nikosbosse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nikosbosse nikosbosse merged commit b8336a8 into main Feb 1, 2026
11 checks passed
@nikosbosse nikosbosse deleted the issue-947-fix-distributional-dep branch February 1, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix {distributional} optional dependency

3 participants