Skip to content

Fix mdist() to look up maps in the ssdtools namespace only - #481

Merged
joethorley merged 1 commit into
bcgov:mainfrom
Zhenglei-BCS:fix/mdist-namespace-lookup
Aug 4, 2026
Merged

Fix mdist() to look up maps in the ssdtools namespace only#481
joethorley merged 1 commit into
bcgov:mainfrom
Zhenglei-BCS:fix/mdist-namespace-lookup

Conversation

@Zhenglei-BCS

Copy link
Copy Markdown

Summary

Test plan

  • tests/testthat/test-mdist.R (9 expectations) against a local install of this branch
  • test-invpareto.R and test-fit-dists.R still pass
  • CI on this PR

Closes #479

Attached packages exporting m* helpers (notably actuar) no longer break ssd_fit_dists(); add regression tests including actuar attached and search-path clashes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@joethorley
joethorley merged commit afe8bdd into bcgov:main Aug 4, 2026
4 checks passed
joethorley added a commit to poissonconsulting/ssdtools that referenced this pull request Aug 6, 2026
fledge derived the entry from merge-commit subjects because the PR
lookups 404'd: this repo is a fork of bcgov/ssdtools and the merge
commits reference upstream PR numbers (bcgov#472, bcgov#478, bcgov#480, bcgov#481) that do
not exist in poissonconsulting/ssdtools. That left four raw
'Merge pull request' bullets plus a duplicate of the 2.6.0.9002 entry.

Replaced with the user-facing changes since v2.6.0.9002.
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.

ssd_fit_dists() fails for all distributions when actuar is attached (mdist() calls m<dist>() with no arguments)

2 participants