Skip to content

Commit 4595042

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

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,8 @@ 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)
7+
export("vctrs::vec_cast")
8+
export("vctrs::vec_ptype2")
99
export(gh)
1010
export(gh_first)
1111
export(gh_gql)

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 vctrs::vec_ptype2
5150
vec_ptype2.gh_response.gh_response <- function(x, y, ...) {
5251
list()
5352
}
5453

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

0 commit comments

Comments
 (0)