Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Export vec_arith.haven_labelled as method
  • Loading branch information
hadley committed May 19, 2020
1 parent 139207b commit 6a0bdcb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Expand Up @@ -13,6 +13,7 @@ S3method(levels,haven_labelled)
S3method(obj_print_footer,haven_labelled)
S3method(obj_print_footer,haven_labelled_spss)
S3method(obj_print_header,haven_labelled)
S3method(vec_arith,haven_labelled)
S3method(vec_arith.haven_labelled,default)
S3method(vec_arith.haven_labelled,haven_labelled)
S3method(vec_arith.haven_labelled,numeric)
Expand Down
2 changes: 2 additions & 0 deletions R/labelled.R
Expand Up @@ -271,6 +271,8 @@ vec_cast.haven_labelled.haven_labelled <- function(x, to, ..., x_arg = "", to_ar
#' Internal vctrs methods
#'
#' @keywords internal
#' @export vec_arith.haven_labelled
#' @method vec_arith haven_labelled
#' @export
vec_arith.haven_labelled <- function(op, x, y, ...) {
UseMethod("vec_arith.haven_labelled", y)
Expand Down
2 changes: 1 addition & 1 deletion man/vec_arith.haven_labelled.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a0bdcb

Please sign in to comment.