Skip to content

Conversation

@andreasnoack
Copy link
Member

Closes #350

I've also removed some outdated developer comments instead of updating names of functions that no longer exist. I'm opening this PR against the PR that fixes the doc build on Julia 1.11 to make tests pass. GitHub will automatically change the target branch to master once #569 has been merged.

@andreasnoack andreasnoack force-pushed the an/deploydoc branch 5 times, most recently from 77f53df to 43f7546 Compare November 19, 2024 19:09
Base automatically changed from an/deploydoc to master November 19, 2024 20:43
@nalimilan
Copy link
Member

Thanks for this. Could you add a deprecation for the wts argument? Better limit breakage when it's easy to do.

@nalimilan
Copy link
Member

Also, if we want to release 2.0 quickly so that #487 may not be merged yet, it would be good to have this PR require weights to be FrequencyWeights, AnalyticalWeights or ProbabilityWeights, with an error message indicating to do weights=fweights(wts) to get the 1.x behavior. Otherwise we'll have to keep silently assuming that weights are frequencies, which often leads to mistakes (in R analytical weights are assumed).

@andreasnoack
Copy link
Member Author

I think we should wait for #487. It seems really close. I'll update this PR once #487 has been merged.

@icweaver icweaver mentioned this pull request Dec 6, 2025
3 tasks
@nalimilan
Copy link
Member

Would you update the PR now that #487 has been merged? I can make a similar PR for the v1 branch so that people don't have to go through two deprecations (#619).

nalimilan added a commit that referenced this pull request Jan 1, 2026
Follow-up on #619, and parallel to #570 for master.
nalimilan added a commit that referenced this pull request Jan 2, 2026
Follow-up on #619, and parallel to #570 for master.
@nalimilan
Copy link
Member

Actually I'm preparing a PR which also allows passing the name of a column as weights.

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.

Change wts keyword argument name to weights

3 participants