Hey Core,
followed by my Bluesky post
<https://bsky.app/profile/yannco.bsky.social/post/3mdy4rlios226>,
I felt like this was such a simple, yet required change!
Let's default to using pak when prompted or when running old scripts with
install.packages.
```r
.utils_install_packages <- utils::install.packages
install.packages <- function(pkgs, ...) {
if (requireNamespace("pak", quietly = TRUE)) { pak::pkg_install(pkgs, ...)
}
else { .utils_install_packages(pkgs, ...) }
}
```
btw, util's home help page shows the r-core email address as maintainer,
and the description file shows r-help
--
Yann Cohen
🌐 www,yann-dev,io <https://iamyannc.github.io/Yann-dev>
📞 +596 696 66 58 93 <https://wa.me/596696665893>
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.