Skip to content

Modernize esreg R package: CI, tests, and metadata#16

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/check-modern-r-practices
Draft

Modernize esreg R package: CI, tests, and metadata#16
Copilot wants to merge 2 commits intomainfrom
copilot/check-modern-r-practices

Conversation

Copy link

Copilot AI commented Mar 12, 2026

The package was missing GitHub Actions CI (still referencing Travis CI), had no test suite, and lacked standard DESCRIPTION metadata fields expected of modern CRAN packages.

Changes

  • GitHub Actions CI (.github/workflows/R-CMD-check.yaml): adds r-lib/actions v2-based R-CMD-check across macOS/Windows/Ubuntu × devel/release/oldrel-1
  • Test suite (tests/testthat/): adds testthat 3e infrastructure with 11 tests covering formula/default/split-covariate interfaces, S3 methods (coef, fitted, residuals, predict, vcov, summary), esr_loss, and all five g2 specifications
  • DESCRIPTION: adds URL, BugReports, Suggests: testthat (>= 3.0.0), and Config/testthat/edition: 3
  • .Rbuildignore: replaces stale ^\.travis\.yml$ with ^\.github$
  • README.md: adds R-CMD-check badge; switches dev-install snippet from devtools::install_github() to pak::pak()

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

… update DESCRIPTION and README

Co-authored-by: BayerSe <14983438+BayerSe@users.noreply.github.com>
Copilot AI changed the title [WIP] Check if package follows modern R practices Modernize esreg R package: CI, tests, and metadata Mar 12, 2026
Copilot AI requested a review from BayerSe March 12, 2026 20:04
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.

2 participants