Skip to content

Commit 323affe

Browse files
committed
fix export, rm keyword-internal
1 parent 3a6d520 commit 323affe

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

NAMESPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ S3method(format,gh_pat)
44
S3method(print,gh_pat)
55
S3method(print,gh_response)
66
S3method(str,gh_pat)
7-
S3method(vctrs::vec_cast,list.gh_response)
8-
S3method(vctrs::vec_ptype2,gh_response.gh_response)
97
export(gh)
108
export(gh_first)
119
export(gh_gql)
@@ -18,6 +16,8 @@ export(gh_token)
1816
export(gh_token_exists)
1917
export(gh_tree_remote)
2018
export(gh_whoami)
19+
export(vec_cast.list.gh_response)
20+
export(vec_ptype2.gh_response.gh_response)
2121
import(rlang)
2222
importFrom(cli,cli_status)
2323
importFrom(cli,cli_status_update)

R/gh_response.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,12 @@ remove_headers <- function(x) {
4646
# Add vctrs methods that strip attributes from gh_response when combining,
4747
# enabling rectangling via unnesting etc
4848
# See <https://github.com/r-lib/gh/issues/161> for more details
49-
#' @exportS3Method vctrs::vec_ptype2
50-
#' @keywords internal
49+
#' @export
5150
vec_ptype2.gh_response.gh_response <- function(x, y, ...) {
5251
list()
5352
}
5453

55-
#' @exportS3Method vctrs::vec_cast
56-
#' @keywords internal
54+
#' @export
5755
vec_cast.list.gh_response <- function(x, to, ...) {
5856
attributes(x) <- NULL
5957
x

0 commit comments

Comments
 (0)