Replace Rcpp dependency with cpp11 #299
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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