Skip to content

Fixing unit tests for CRAN#246

Merged
kgoldfeld merged 3 commits intomainfrom
fix-cran-error-20260206
Feb 8, 2026
Merged

Fixing unit tests for CRAN#246
kgoldfeld merged 3 commits intomainfrom
fix-cran-error-20260206

Conversation

@kgoldfeld
Copy link
Owner

No description provided.

@kgoldfeld
Copy link
Owner Author

@assignUser Hey - hope you're well. A unit test was generating a CRAN error, and they gave me a couple of weeks to update on CRAN. I fixed it by adding a seed and am ready to upload. There's no real need for you to verify, but you certainly can take a look. I'll wait until Monday.

@assignUser
Copy link
Collaborator

assignUser commented Feb 8, 2026

Setting a seed is sensible here, after all you are not testing the underlying numerical implementation (which is causing the differences here with MKL). Hopefully this seed also works on the MKL test 🤞

@kgoldfeld
Copy link
Owner Author

Yeah - that would be a shocker. But, I change the sample size to 2500 and tested 10000 runs (with no seed :)) and all tests passed.

@kgoldfeld kgoldfeld merged commit b6a245d into main Feb 8, 2026
9 checks passed
@kgoldfeld kgoldfeld deleted the fix-cran-error-20260206 branch February 8, 2026 21:00
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.

2 participants