pak icon indicating copy to clipboard operation
pak copied to clipboard

A fresh approach to package installation

Results 175 pak issues
Sort by recently updated
recently updated
newest added

When I just tried to install a long list of packages with `pkg_install()`, I got an error: ``` Error: ! error in pak subprocess Caused by error: ! invalid version...

reprex

I just understood that `options(BioC_mirror = 'https://example.com/bioconductor')` is seen within the pak `remote` process when I run my R session from $HOME (where my `.Rprofile` resides), but not from another...

bug

I'm looking for a way to install the development dependencies for a package, and running something like `local_install_dev_deps(dependencies = c("config/needs/website"))` seems to give me an error. ```r > pak::local_install_dev_deps(dependencies =...

bug

This is difficult, because it probably should not fail on various CRAN servers that test pak w/o suggested packages. OTOH, `install.packages()` never actually fails, so you can't use `install.packages()` in...

feature

The [remotes vignette](https://cran.r-project.org/web/packages/remotes/vignettes/dependencies.html) describes some other versions of Bioconductor remotes, e.g. ``` # Bioconductor Remotes: bioc::3.3/SummarizedExperiment#117513, bioc::release/Biobase ``` But installation fails, with: ``` > pak::pkg_install("bioc::release/Biobase") Error: ! error in pak...

feature

So pak should use that repo as well, if it is not set up yet.

feature

Need to call this right before or after loading the new version: ``` .Internal(lazyLoadDBflush(system.file(package = "pak", "help", "pak.rdb"))) ```

feature

For the code db, we need to hit all (well, S3 methods would be probably enough) promises before unloading, and for the help db, we need to flush the db...

feature

Some packages have build-time options passed by environment variables, e.g. package V8: ![image](https://github.com/r-lib/pak/assets/22870774/7007b1fd-0791-4541-86b1-b55266dc608a) On Archlinux, compiling libv8 is bit bothersome with build deps on python2 etc... so setting ` DOWNLOAD_STATIC_V8=1`...

feature

Cf. https://github.com/r-lib/pak/issues/511#issuecomment-1600571784

bug