Best way to overwrite functions in an existing package and test them?
I have an existing package that I cloned from Git and did a local build. I renamed the package in the DESC file to avoid conflict with the original package which I intend to test the package.
After building, I tried to install the package locally but ran into version issue (specifically XXX.tar.gz is not available for this version of R).
What are the other ways I could work around to have a copy installed locally without having conflict with the original package?
I saw some options using trace (What ways are there to edit a function in R? - Stack Overflow) , but everytime i want to use the original package i'd have to re-install it which is not ideal for me.