I'm using RStudio within the isolated environment with no Internet access. I install packages from local repository (zip files) using install.packages("package_name", contriburl="file:path_to_the_repository") command.
Unfortunately, RStudio still tries to connect to CRAN which makes the installation process extremely time consuming. It takes about 10 minutes to install package with its dependencies.
Is there any solution to workaround this issue and prevent RStudio from trying to establish connection with CRAN repo?