Skip to content

eeptools 1.3.0: deprecations, ggplot2 4.0 fixes, refocused vignette - #47

Merged
jknowles merged 1 commit into
mainfrom
v1.3.0-deprecations
Jun 22, 2026
Merged

eeptools 1.3.0: deprecations, ggplot2 4.0 fixes, refocused vignette#47
jknowles merged 1 commit into
mainfrom
v1.3.0-deprecations

Conversation

@jknowles

Copy link
Copy Markdown
Owner

Prepares the 1.3.0 release. The theme is narrowing eeptools toward its
durable purpose — an education administrative-records toolkit — while keeping it
fully CRAN-clean and backward compatible (nothing is removed yet).

Deprecations (still work, now warn)

defac, makenum, decomma, cleanTex, lag_data, gelmansim,
autoplot.lm, crosstabs, crosstabplot, profpoly, profpoly.data — each
warning names its modern replacement (base R, readr, dplyr, marginaleffects,
ggfortify/performance, janitor).

Defunct (now error)

theme_dpi(), theme_dpi_map(), theme_dpi_map2(), theme_dpi_mapPNG()
ggplot2::theme_bw(). These had been deprecated stubs for several releases.

Other changes

  • Modernize autoplot.lm for ggplot2 4.0: diagnostics computed from stats
    instead of the deprecated ggplot2::fortify(); sizelinewidth.
  • Fix a moved (301) R Bootcamp URL in the README and vignette.
  • Refocus the intro vignette on the kept toolkit (age/retention/mobility
    calculators, statamode, isid, cutoff/thresh, cleaning helpers,
    datasets); drop demos of deprecated functions.
  • Add lifecycle tests (deprecated warn, defunct error); remove stale
    CRAN-RELEASE.

Forward note

Deprecated functions are scheduled for removal in 2.0.0, at which point the
arm and vcd dependencies will be dropped.

Verification

  • R CMD check --as-cran: Status: OK (0 errors / warnings / notes; the PDF
    manual step is skipped locally due to a missing LaTeX package only).
  • Tests: 524 pass / 0 fail; vignette rebuilds cleanly.

Begin narrowing eeptools toward its durable purpose as an education
administrative-records toolkit.

- Deprecate 11 convenience functions now better served by base R or other
  packages: defac, makenum, decomma, cleanTex, lag_data, gelmansim,
  autoplot.lm, crosstabs, crosstabplot, profpoly, profpoly.data. Each warns
  and names its replacement; all still work.
- Make theme_dpi(), theme_dpi_map(), theme_dpi_map2(), theme_dpi_mapPNG()
  defunct (use ggplot2::theme_bw()).
- Modernize autoplot.lm for ggplot2 4.0: compute diagnostics from stats
  instead of the deprecated ggplot2::fortify(); size -> linewidth.
- Fix a moved (301) R Bootcamp URL in README and the vignette.
- Refocus the intro vignette on the kept toolkit (age/retention/mobility
  calculators, statamode, isid, cutoff/thresh, cleaning helpers, datasets).
- Add lifecycle tests (deprecated warn, defunct error); bump to 1.3.0;
  remove the stale CRAN-RELEASE file.

Deprecated functions are scheduled for removal in 2.0.0, at which point the
arm and vcd dependencies will be dropped.
@jknowles
jknowles merged commit f8a0e6b into main Jun 22, 2026
5 checks passed
@jknowles
jknowles deleted the v1.3.0-deprecations branch June 22, 2026 20:47
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