Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

usethis-defunct

Defunct and deprecated functions in usethis


Description

These functions have either been deprecated or removed from usethis.

Usage

pr_pull_upstream()

pr_sync()

browse_github_token(...)

browse_github_pat(...)

github_token()

pr_pull_upstream()

This function has been replaced by pr_merge_main().

pr_sync()

Bundling these operations together did not seem justified, in terms of how rarely this comes up and, when it does, how likely merge conflicts are. Users of pr_sync() should implement these steps "by hand":

  • (Check you are on a PR branch)

  • pr_pull()

  • pr_merge_main(), deal with any merge conflicts, if any

  • pr_push()

browse_github_token(), browse_github_pat()

These functions have been replaced by create_github_token().

github_token()

All implicit and explicit token discovery routes through gh::gh_token() now.


usethis

Automate Package and Project Setup

v2.0.1
MIT + file LICENSE
Authors
Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.