Skip to content

Cleanup and add Makefile with CI updates#130

Merged
egenn merged 7 commits into
mainfrom
develop
Apr 11, 2026
Merged

Cleanup and add Makefile with CI updates#130
egenn merged 7 commits into
mainfrom
develop

Conversation

@egenn
Copy link
Copy Markdown
Member

@egenn egenn commented Apr 11, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 11, 2026 06:12
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a Makefile to automate development tasks such as documentation, installation, and testing, while updating .Rbuildignore to exclude it. It also modifies verbosity logic in the messaging functions and fixes a typo in a comment within the utility checks. Review feedback identifies a bug in the msg0 function where the verbosity check is inconsistent with msg, potentially allowing output when it should be silent. Additionally, it is recommended to include the document target in the Makefile's .PHONY list.

Comment thread R/msg.R Outdated
Comment thread Makefile Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR focuses on repository cleanup and developer/CI ergonomics by adding a Makefile for common package tasks and modernizing the GitHub Actions R CMD check workflow, along with a couple of small R code cleanups.

Changes:

  • Add a Makefile to standardize common tasks (document, install, test, site) and ignore it in R builds.
  • Update the GitHub Actions R-CMD-check workflow (trigger rules, concurrency, pandoc setup, snapshot upload, build args).
  • Minor R code tweaks: fix a closing comment label and adjust message verbosity guards.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
R/utils_checks.R Corrects the end-of-function comment for check_float01exc.
R/msg.R Adjusts verbosity handling in msg() / msg0() (one change introduces a behavior regression).
Makefile Adds make targets for documenting, installing, testing, and building pkgdown site.
.Rbuildignore Ensures Makefile is excluded from the package build.
.github/workflows/R-CMD-check.yaml Modernizes CI configuration and enables snapshot artifact upload + build args.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread R/msg.R Outdated
Comment thread Makefile Outdated
@egenn egenn merged commit e4a0823 into main Apr 11, 2026
1 check 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.

2 participants