pak
pak copied to clipboard
A fresh approach to package installation
I saw the following when installing `devtools` on an Ubuntu 22.04 VM: ``` > pak::pkg_install("devtools") → Will install 71 packages. → Will download 71 CRAN packages (23.14 MB). + askpass...
Small feature request to allow global option setting for dependencies. Would be beneficial for those of us that use `dependencies = TRUE` every time.
For example, I saw (on Windows with R 3.6.3): ``` v Updated metadata database: 4.60 MB in 12 files. v Updating metadata database ... done > Will install 66 packages....
i.e. ```r Remotes: url::https://github.com/DavisVaughan/vctrs/archive/fix/safer-joint-order-proxy.tar.gz ``` I was about to launch a `cloud_check()` with this in my Remotes and I wanted to verify that it was set up correctly, so I...
I am trying to include `catboost` (Link: https://github.com/catboost/catboost/tree/master/catboost/R-package) into the *Remotes* field of my R package `DESCRIPTION` but when I run `pak::local_install_dev_deps(".")` I get the following error message: ``` Error:...
Installation is okay, but using it will throw error: ``` r install.packages("pak") #> Installing package into 'C:/Users/liang/Documents/R/win-library/4.1' #> (as 'lib' is unspecified) #> package 'pak' successfully unpacked and MD5 sums...
``` ✓ 1 pkg + 68 deps: kept 48, upd 1, added 20, dld 21 (NA B) [3m 30.2s] ``` More info: ``` > pak::pkg_install("rstudio/shinytest2") → Will install 20 packages....
E.g. if we want `user1/repo1`, but one of our dependencies wants `user2/repo2`, we should have a way to force `user1/repo1`. A `?force` parameter could work: ``` pkg_install("user1/repo1?force", ...) ```
Hi! I have been searching for a reasonable way to deploy an R package which has many dependencies, both on CRAN and github. I eventually found pak and consider it...
I'm not entirely sure what this involves, but if you use pak inside a renv-using project, it would be nice if the packages were installed into the renv global cache,...