eeptools 1.3.0: deprecations, ggplot2 4.0 fixes, refocused vignette - #47
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares the 1.3.0 release. The theme is narrowing
eeptoolstoward itsdurable 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— eachwarning 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
autoplot.lmfor ggplot2 4.0: diagnostics computed fromstatsinstead of the deprecated
ggplot2::fortify();size→linewidth.calculators,
statamode,isid,cutoff/thresh, cleaning helpers,datasets); drop demos of deprecated functions.
CRAN-RELEASE.Forward note
Deprecated functions are scheduled for removal in 2.0.0, at which point the
armandvcddependencies will be dropped.Verification
R CMD check --as-cran: Status: OK (0 errors / warnings / notes; the PDFmanual step is skipped locally due to a missing LaTeX package only).