Learn R Programming

usethis (version 2.0.0)

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()

Arguments

<code>pr_pull_upstream()</code>

This function has been replaced by pr_merge_main().

<code>pr_sync()</code>

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()

<code>browse_github_token()</code>, <code>browse_github_pat()</code>

These functions have been replaced by create_github_token().

<code>github_token()</code>

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