Re: its time for an update for install.packages!
Jeff Newmiller via R-help <[email protected]> Tue, 03 Feb 2026 13:22:51 -0800
| Newsgroups | gmane.comp.lang.r.general |
|---|---|
| Message-ID | <[email protected]> |
My non-core vote is to discard this suggestion. FWIW R-Core doesn't pay much attention to this volunteer helpers list anyway... I suggest to OP that you spend a little more time with the official documentation before suggesting significant changes. On February 3, 2026 12:30:05 PM PST, Yann Coh <[email protected]> wrote: >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. -- Sent from my phone. Please excuse my brevity. [[alternative HTML version deleted]]