Skip to content

Commit

Permalink
fix #225: add compatibility with upcoming tibble v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Mar 11, 2020
1 parent 6441caa commit a1e01bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

* prettier `str` print for units and mixed units; #228 addressing #227

* add compatibility with upcoming tibble v3.0.0; #225

# version 0.6-5

* skip test on CRAN to avoid issues with strict latin1 environments
Expand Down
2 changes: 1 addition & 1 deletion R/mixed.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.as.mixed_units = function(x) {
stopifnot(is.list(unclass(x)))
structure(x, class = "mixed_units")
structure(x, class = c("mixed_units", "list"))
}

# constructor function:
Expand Down

0 comments on commit a1e01bc

Please sign in to comment.