gh icon indicating copy to clipboard operation
gh copied to clipboard

add vctrs methods to make rectangling nicer

Open tanho63 opened this issue 6 months ago • 1 comments

Closes #161 as part of tidy dev day:

Adds vctrs methods provided by @DavisVaughan to help gh_response play more nicely with vctrs rectangling toolkit.

test instructions:

pkgload::load_all()
x <- gh("/users", .limit = 2)
Sys.sleep(1)
y <- gh("/users", .limit = 2)

str(vctrs::vec_c(x, y), list.len = 3)

list(x, y) |> 
  tibble::tibble() |> 
  tidyr::unnest_longer(1)

tanho63 avatar Aug 15 '24 18:08 tanho63