ITADN
r-lib/pak/Issues

`upgrade=FALSE` ignores system-wide installed packages

#854Openassaron 创建于 2026-03-20
A
assaroncommented
Hello, Since `devtools::install_dev_deps` is going to be deprecated in favor of `pak::local_install_dev_deps` I tried it and stumbled upon the problem that `pak` ignores any already system-wide installed packages (in my case installed by r2u in a docker environment). I understand from the documentation it's partially by design and follows from `lib = .libPaths()[1]` in the arguments. Is it really by design? It's very confusing to me at the moment. Is there a way to account for all the packages and install only the packages that are really absent? Thanks, Alexy
2 条评论