-
Notifications
You must be signed in to change notification settings - Fork 48
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
Replace Rcpp dependency with cpp11 #299
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we can omit testing Rcpp loading with pkgload.
I'm not sure why you couldn't install pkgload because of Rcpp, especially since it's only a "suggested" package, not "imported", so it's not a requirement for simple installation.
In Rcpp the guard for |
Co-authored-by: Lionel Henry <lionel.hry@proton.me>
ok, could it be possible to add my contribution in "parallel"? |
Niagara (the server) is very particular. It uses something called R-batteries-included that runs on a modified CentOS. If anything works there, it works anywhere. |
Dear Posit Team,
I hope you are doing well.
I spent most of my night awake trying to fix this error that chased me for a few days: When I try to install "devtools" in the Niagara cluster, I get this error
I have tried using Docker images and building R from source.
After replicating Niagara's configuration, which is CentOS with clang 19, I realised I had to install Rcpp from GitHub (i.e., using "remotes"), which is something I cannot do in the cluster (my account has limited permissions and TI is very strict).
My solution is this PR with minimal changes, adhering to your coding style, and that also features unit tests.
I hope you can accept it.
Please let me know if I have to change anything and I will do it promply.
It is not your fault, but I was severely mistreated on Stackoverflow for asking about this. I spent days figuring out my own solution for this, and my PR fixed the issues in the Niagara cluster by replacing the "Rcpp" dependency by "cpp11". I am just a (former) Statistician doing a PhD in Political Science, not a computer expert.
Respectfully,
Mauricio Pacha Vargas Sepulveda