Skip to content

Commit 49d117b

Browse files
committed
- vec_ptype2.hms.default() forwards to vec_default_ptype2() for compatibility with vctrs 0.2.1.
1 parent b9a77be commit 49d117b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/coerce.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ vec_ptype2.blob <- function(x, y, ..., x_arg = "", y_arg = "") UseMethod("vec_pt
1111

1212
#' @method vec_ptype2.blob default
1313
#' @export
14-
vec_ptype2.blob.default <- function(x, y, ..., x_arg = "", y_arg = "") stop_incompatible_type(x, y, x_arg, y_arg)
14+
vec_ptype2.blob.default <- function(x, y, ..., x_arg = "", y_arg = "") {
15+
vec_default_ptype2(x, y, x_arg = x_arg, y_arg = y_arg)
16+
}
1517

1618
#' @method vec_ptype2.blob blob
1719
#' @export

0 commit comments

Comments
 (0)