r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

Switch to pak #393

Open jeroen opened 2 months ago

jeroen commented 2 months ago

Now that https://github.com/r-lib/pak/issues/606 is fixed we should be able to use pak to install any pkg:

pak::pkg_install(c("local::mypkg_1.0.0.tar.gz", "*=?ignore-unavailable"), dependencies = TRUE)

Or to install only dependencies but not the pkg itself

pak::pak_install(c("deps::mypkg_1.0.0.tar.gz", "*=?ignore-unavailable"), dependencies = TRUE))
jeroen commented 1 month ago

Need to fix this first because the solver hangs in r-universe: https://github.com/r-lib/pak/issues/628