When you import a library that is not installed and save the file, RStudio asks you to install it
Some software needs to override what happens when you click "Install", like the cran2copr project which needs to install the library from binary files instead of compiling it from source.
How we can override the action taken by RStudio when you click install?