usethis (version 2.1.6)

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

git_branch_default()

use_tidy_labels()

use_tidy_ci(...)

use_github_action_check_full( save_as = "R-CMD-check.yaml", ignore = TRUE, open = FALSE, repo_spec = NULL )

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.

<code>git_branch_default()</code>

Please call git_default_branch() instead. In hindsight, that is a better name for this function.

<code>use_tidy_labels()</code>

Please call use_tidy_github_labels() instead. In hindsight, that is a better name for this function.