I am encountering an error that is driven by a C++ function that has been wrapped using Rcpp. Normally if I needed to edit a function I would just use fix(TheFunction)
and edit as needed. While this works for R functions, I can't figure out how to access the underling C++ code.
Is there a simple way to edit an underlining C++ function? One thought I had was forking the GitHub repository, making the edits I need, and then installing the package from my GitHub. I have never done that would it work, or is there a better way?