data-raw/tychobra_gh_labels.R

## code to prepare `tychobra_gh_labels` dataset goes here

library(tibble)
library(usethis)
library(jsonlite)

tychobra_gh_labels <- tibble::tribble(
  ~label, ~color, ~description,
  "andy_review",  "#000000", "Pending review by Andy",
  "onhold",  "#ffff00", "On hold",
  "p1",  "#0000ff", "Priority 1",
  "p2",  "#0000ff", "Priority 2",
  "p3",  "#0000ff", "Priority 3",
  "p4",  "#0000ff", "Priority 4"
)

jsonlite::write_json(tychobra_gh_labels, "inst/assets/tychobra_gh_labels.json")

usethis::use_data(tychobra_gh_labels, internal = TRUE)
Tychobra/tychobratools documentation built on April 12, 2022, 12:29 a.m.