gh
gh copied to clipboard
add vctrs methods to make rectangling nicer
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)