Installing a cloned copy vs original copy from CRAN: anyway to prevent conflicts?


I have a package from CRAN installed in my RStudio. I am also cloning the repo locally and want to install it locally to make changes, but don't want to lose the original version.
Is there a way I can go about install the local copy without it being confused with the original copy (ie. install the package as another name to prevent conflict with the original name?)

Eg. I have a package called "JM" that I downloaded from CRAN. I also git clone / build the package locally and wanna make changes to it. Can I name this local installation as sth like "JM2" to prevent confusion?
Thank you,

Edit the DESCRIPTION file so that package: is renamed with your preferred name.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.