Skip to content

Conversation

@jrwishart
Copy link
Contributor

@jrwishart jrwishart commented Sep 24, 2025

Fixes the build issue of the shapley C++ code with the new RcppEigen dependency. Will allow RcppEigen to be unpinned.

@jrwishart jrwishart requested a review from Copilot September 24, 2025 10:40
Copy link

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 fixes compatibility issues with newer versions of RcppEigen by adding explicit type casts and removes version constraints. The changes address compilation errors that occur when upgrading from the previously pinned RcppEigen version.

  • Added static_cast<int> conversions for array indexing operations
  • Removed RcppEigen version constraint to allow upgrades
  • Cleaned up trailing whitespace

Reviewed Changes

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

File Description
src/shapley.cpp Added explicit integer type casts for array indexing and removed trailing whitespace
DESCRIPTION Bumped package version and removed RcppEigen version constraint

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jrwishart jrwishart marked this pull request as ready for review September 29, 2025 22:56
Copy link
Contributor

@JustinCCYap JustinCCYap left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@instantepiphany instantepiphany left a comment

Choose a reason for hiding this comment

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

Very cool to see this resolved!

@jrwishart jrwishart merged commit 07f7dae into master Sep 30, 2025
2 of 3 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.

4 participants