r-lib / usethis

Set up commonly used 📦 components
https://usethis.r-lib.org/
Other
830 stars 257 forks source link

Transitioning from devtools to remotes #2013

Closed hhmacedo closed 1 day ago

hhmacedo commented 5 days ago

Currently, it is recommended to use remotes::install_github(). Therefore, I kindly suggest considering the update in the README file created by use_readme_rmd().

https://github.com/r-lib/usethis/blob/73b4e97b4f76d8c9b4b11761eb8e32a86bb2ceca/inst/templates/package-README#L31-L32

olivroy commented 2 days ago

I think the new standard is to use pak

hhmacedo commented 2 days ago

pak is a new recommended function, but it's a different standard of installation, remotes keeps the same standard and this is why I suggested remotes.

jennybc commented 1 day ago

We are definitely not putting remotes here. This section of R Packages explains more about why we prefer to feature devtools in this sort of user-facing, workflow-y situation:

https://r-pkgs.org/setup.html#sec-setup-usage

We are switching to pak in these places:

https://github.com/search?q=pak%20path:README.Rmd%20org:tidyverse&type=code