Skip to content

Phase 1+2: CRAN-readiness baseline and code quality modernization - #46

Merged
jknowles merged 2 commits into
mainfrom
v1-revival
Jun 22, 2026
Merged

Phase 1+2: CRAN-readiness baseline and code quality modernization#46
jknowles merged 2 commits into
mainfrom
v1-revival

Conversation

@jknowles

Copy link
Copy Markdown
Owner

Phase 1 (CRAN-readiness):

  • R-001: Fix invalid POSIXct timestamps in age_calc examples
  • R-002: Document leading_zero mixed-sign behavior in @details
  • R-003: Add testthat (>= 3.0.0) version constraint
  • CI-001: Bump actions/checkout@v3 → v4

Phase 2 (Code quality and test modernization):

  • R-004: Fix typo 'his' → 'This' in age_calc @description
  • R-005: Guard readline() with interactive() in autoplot.lm
  • R-006: Fix stringsAsFactors=TRUE → FALSE in moves_calc
  • R-007: Fix retained_calc: eliminate caller mutation, remove I() wrapper
  • R-008: Modernize test-gelmansim.R to testthat 3 API
  • R-009: Modernize test-utils.R to testthat 3 API
  • R-010: Remove dead zzz.R, move @importFrom to package file
  • R-011: Delete commented-out dead code in proficiency_tools.R
  • Plot titles do not come through in crosstabplot when labels are true #28: Cannot reproduce title bug (fixed in prior vcd update)
  • D-002: Update README.Rmd to github_document output format
  • D-003: Use packageVersion() in startup message
  • D-004: Remove 'still in beta' from package docs

Also: add packageVersion to utils import (fixes R CMD check NOTE)

jknowles added 2 commits June 19, 2026 12:28
Phase 1 (CRAN-readiness):
- R-001: Fix invalid POSIXct timestamps in age_calc examples
- R-002: Document leading_zero mixed-sign behavior in @details
- R-003: Add testthat (>= 3.0.0) version constraint
- CI-001: Bump actions/checkout@v3 → v4

Phase 2 (Code quality and test modernization):
- R-004: Fix typo 'his' → 'This' in age_calc @description
- R-005: Guard readline() with interactive() in autoplot.lm
- R-006: Fix stringsAsFactors=TRUE → FALSE in moves_calc
- R-007: Fix retained_calc: eliminate caller mutation, remove I() wrapper
- R-008: Modernize test-gelmansim.R to testthat 3 API
- R-009: Modernize test-utils.R to testthat 3 API
- R-010: Remove dead zzz.R, move @importFrom to package file
- R-011: Delete commented-out dead code in proficiency_tools.R
- GH-28: Cannot reproduce title bug (fixed in prior vcd update)
- D-002: Update README.Rmd to github_document output format
- D-003: Use packageVersion() in startup message
- D-004: Remove 'still in beta' from package docs

Also: add packageVersion to utils import (fixes R CMD check NOTE)
- Add trailing newline to R/moves_calc.R (avoids R CMD CHECK NOTE)
- Add ^docs$ to .Rbuildignore (exclude planning docs from CRAN tarball)
- Add error-on: '"error"' to CI check-r-package step (CI-001 complete)
- Mark D-004 and CI-001 as done in issue backlog
@jknowles
jknowles merged commit 2ca4856 into main Jun 22, 2026
5 checks passed
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