Open DavisVaughan opened 10 months ago
Screenshot of RStudio's implementation:
In #1978, we're going to introduce some usage of pak, to improve the package developer experience. So once we cross that rubicon, it would be cool if this treatment of install.packages()
can also fire for, e.g., pak::pak()
or pak::pkg_install()
.
Pulled from https://github.com/posit-dev/positron/issues/127
i.e. show the list of possible packages to install. Maintain a session based cache of packages based on the repo URL.
See https://github.com/rstudio/rstudio/blob/7f5869fcb7d263b0284fd09a7ec25afd1e3da00f/src/cpp/session/modules/SessionRCompletions.R#L2414-L2502