Created
November 24, 2020 09:48
-
-
Save cderv/04b90cd13e833b97bf67ca643ecbd054 to your computer and use it in GitHub Desktop.
Tidyverse labels-ish
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(magrittr) | |
library(usethis) | |
# We want to keep question and not rename it to reprex so | |
# 1. Add question label with color and description | |
# 2. Remove renaming of question to reprex | |
labels <- c(tidy_labels(), "question") | |
rename <- tidy_labels_rename() %>% {.[names(.) != "question"]} | |
colors <- c(tidy_label_colours(), "FBCA04") | |
description <- c(tidy_label_descriptions(), "questions not answered anywhere else") | |
use_github_labels( | |
labels = labels, | |
rename = rename, | |
colours = colors, | |
descriptions = description, | |
delete_default = TRUE | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment