Skip to content

Conversation

Copy link

Copilot AI commented Nov 19, 2025

Description

testthat ≥ 3.0.0 requires R ≥ 4.1, but DESCRIPTION specified R ≥ 4.0. This caused the versions-matrix action to include R 4.0 in the CI test matrix, leading to incompatible builds.

Updated DESCRIPTION to require R ≥ 4.1. Additionally, fixed .github/versions-matrix.R (a custom script that adds an older R version to the test matrix) to respect the minimum R version from DESCRIPTION, ensuring R 4.0 is excluded from all CI test configurations.

Changes Made

  • DESCRIPTION: Changed R (>= 4.0) to R (>= 4.1)
  • .gitignore: Added R CMD check artifacts (*.Rcheck, *.tar.gz)
  • .github/versions-matrix.R: Added logic to filter out R versions below the minimum specified in DESCRIPTION

Related Issue

fix #208

[!WARNING]

Original prompt

This section details on the original issue you should resolve

<filter_complete></filter_complete>

<issue_title>Avoid checking R 4.0 on GHA</issue_title>
<issue_description>testthat needs R 4.1.</issue_description>

Comments on the Issue (you are @copilot in this section)

Original prompt

This section details on the original issue you should resolve

<issue_title>Avoid checking R 4.0 on GHA</issue_title>
<issue_description>testthat needs R 4.1.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 19, 2025 10:16
Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>
Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove check for R 4.0 on GHA workflow Update minimum R version to 4.1 for testthat compatibility Nov 19, 2025
Copilot AI requested a review from krlmlr November 19, 2025 10:21
@krlmlr
Copy link
Collaborator

krlmlr commented Nov 19, 2025

@copilot: Also double-check GHA workflows.

Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>
Copy link
Author

Copilot AI commented Nov 19, 2025

@copilot: Also double-check GHA workflows.

Double-checked GHA workflows. Found that .github/versions-matrix.R was re-adding R 4.0 to the test matrix. Fixed in 5f86451 to respect the minimum R version from DESCRIPTION. R 4.0 is now excluded from all test matrices.

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.

Avoid checking R 4.0 on GHA

3 participants