Skip to content

Commit

Permalink
Also remove use_tidy_labels() and use_tidy_ci()
Browse files Browse the repository at this point in the history
They were deprecated as of v2.1.0 as opposed to v2.0.0. But I feel OK about this because they are (1) only meant for tidyverse maintainers and (2) unlikely to be used programmatically anywhere.
  • Loading branch information
jennybc committed Jul 25, 2024
1 parent b47d363 commit 786d9a8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 28 deletions.
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ export(use_template)
export(use_test)
export(use_testthat)
export(use_tibble)
export(use_tidy_ci)
export(use_tidy_coc)
export(use_tidy_contributing)
export(use_tidy_dependencies)
Expand All @@ -186,7 +185,6 @@ export(use_tidy_github)
export(use_tidy_github_actions)
export(use_tidy_github_labels)
export(use_tidy_issue_template)
export(use_tidy_labels)
export(use_tidy_logo)
export(use_tidy_style)
export(use_tidy_support)
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ Functions that are removed:
* `use_travis_badge()`
* `browse_travis()`
* `use_pkgdown_travis()`
* `use_tidy_ci()`
* `use_tidy_labels()`

Function arguments that are removed:

Expand Down
16 changes: 0 additions & 16 deletions R/usethis-deprecated.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,10 @@ git_branch_default <- function() {
#' @description
#' `r lifecycle::badge("deprecated")`
#'
#' * `use_tidy_labels()` has been replaced by [use_tidy_github_labels()].
#' * `use_tidy_ci()` has been replaced by [use_tidy_github_actions()].
#' * `use_tidy_eval()` is deprecated because there's no longer a need to
#' systematically import and re-export a large number of functions in order
#' to use tidy evaluation. Instead, use [use_import_from()] to tactically
#' import functions as you need them.
#'
#' @keywords internal
#' @export
use_tidy_labels <- function() {
lifecycle::deprecate_stop("2.1.0", "use_tidy_labels()", "use_tidy_github_labels()")
}

#' @rdname use_tidy_labels
#' @export
use_tidy_ci <- function(...) {
lifecycle::deprecate_stop("2.1.0", "use_tidy_ci()", "use_tidy_github_actions()")
}

#' @rdname use_tidy_labels
#' @keywords internal
#' @export
use_tidy_eval <- function() {
Expand Down
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ reference:
contents:
- git_branch_default
- use_github_actions
- use_tidy_labels
- use_tidy_eval

articles:
- title: Basics
Expand Down
10 changes: 1 addition & 9 deletions man/use_tidy_labels.Rd → man/use_tidy_eval.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 786d9a8

Please sign in to comment.