Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to build R client on Fedora. #4492

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

jcferretti
Copy link
Member

No description provided.

@@ -256,7 +257,7 @@ class TableHandleWrapper {
abs_sort = std::vector<bool>(cols.size(), abs_sort[0]);
}

for(int i = 0; i < cols.size(); i++) {
for(std::size_t i = 0; i < cols.size(); i++) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason to include a whole new header file just for this? Is it worth it?

Copy link
Member Author

Choose a reason for hiding this comment

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

The type of size() for an std::vector is std::size_t. The old code works but is the wrong way to do it.
So, yes.

@@ -13,7 +13,7 @@ Description: The `rdeephaven` package provides an R API for communicating with t
and bind it to a server-side variable so you can access it from any Deephaven client. Finally, you can run Python or Groovy
scripts on the Deephaven server, so long as your server is equipped with that capability.
License: Apache License (== 2.0)
Depends: R (>= 4.1.2), Rcpp (>= 1.0.10), arrow (>= 12.0.0), R6 (>= 2.5.0), dplyr (>= 1.1.0)
Depends: R (>= 3.5.3), Rcpp (>= 1.0.10), arrow (>= 12.0.0), R6 (>= 2.5.0), dplyr (>= 1.1.0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Has this been tested? I assume yes, but I only ask because I seem to recall having devtools issues using such an old version of R.

Copy link
Contributor

Choose a reason for hiding this comment

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

I saw that your comment says you ran all the tests, so I guess this is working. I wish I could recall exactly what problems I had with using an old version of R.

Copy link
Member Author

Choose a reason for hiding this comment

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

I tested on Fedora 28 which is R 3.5.3, is what the customer that needs enterprise R is using (they use RHEL 8 but that's based on Fedora 28), and is the reason these changes exist in the first place.

@jcferretti jcferretti merged commit 0328e4c into deephaven:main Sep 14, 2023
14 checks passed
@jcferretti jcferretti deleted the cfs-R-fedora-28 branch September 14, 2023 16:04
@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants