Skip to content

Commit 867750a

Browse files
committed
Undo length.path export
Turns out that vcr depends on the existing (buggy) behaviour
1 parent f8072d4 commit 867750a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ S3method(headers,response)
2020
S3method(http_error,character)
2121
S3method(http_error,integer)
2222
S3method(http_error,response)
23-
S3method(length,path)
2423
S3method(print,cache_info)
2524
S3method(print,handle)
2625
S3method(print,oauth_app)

R/write-function.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ request_fetch.write_stream <- function(x, url, handle) {
9090
}
9191

9292
path <- function(x) structure(x, class = "path")
93-
#' @export
93+
94+
# Can't export this method:
95+
#' @exportS3Method NULL
9496
length.path <- function(x) file.info(x)$size
9597
is.path <- function(x) inherits(x, "path")

0 commit comments

Comments
 (0)