Skip to content

Rename ssd_ecd()/ssd_ecd_data() to ssd_ecdf()/ssd_ecdf_data() - #180

Open
joethorley wants to merge 3 commits into
devfrom
joethorley/issue153
Open

Rename ssd_ecd()/ssd_ecd_data() to ssd_ecdf()/ssd_ecdf_data()#180
joethorley wants to merge 3 commits into
devfrom
joethorley/issue153

Conversation

@joethorley

Copy link
Copy Markdown
Member

Closes #153

Renames the empirical cumulative distribution function to the conventional ecdf name:

  • ssd_ecd() -> ssd_ecdf()
  • ssd_ecd_data() -> ssd_ecdf_data()

The old names are retained as soft-deprecated wrappers (lifecycle::deprecate_soft("2.7.0", ...)) that delegate to the new functions, so existing code keeps working. Internal callers (ggproto.R, plot-data.R, ssd-plot.R, ssd_sort_data()) and @seealso links now use the new names, and _pkgdown.yml lists the new functions under Miscellaneous and the deprecated ones under Deprecated.

Tests

  • New tests for ssd_ecdf() / ssd_ecdf_data() (migrated from the old-name tests).
  • Deprecation tests confirming the old names warn and return values identical to the new functions.

Full test suite passes locally (1340 tests, 0 failures, NOT_CRAN=true).

🤖 Generated with Claude Code

joethorley and others added 3 commits July 14, 2026 08:08
Fixes #153

The empirical cumulative distribution function is now named ssd_ecdf() and
ssd_ecdf_data(). The old ssd_ecd() and ssd_ecd_data() are soft-deprecated.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@joethorley
joethorley requested a review from beckyfisher August 6, 2026 07:25
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.

1 participant