mirror of
https://github.com/msberends/AMR.git
synced 2026-11-17 10:20:48 +01:00
(v1.3.0.9008) also tibble printing for ab
This commit is contained in:
1 parent
5e45fdcf2a
commit
9b8db57c65
44 files changed
+63
-52
No files matched your search
@@ -29,6 +29,8 @@
|
||||
envir = asNamespace("AMR"))
|
||||
|
||||
# support for tibble headers (type_sum) and tibble columns content (pillar_shaft)
|
||||
s3_register("pillar::pillar_shaft", "ab")
|
||||
s3_register("tibble::type_sum", "ab")
|
||||
s3_register("pillar::pillar_shaft", "mo")
|
||||
s3_register("tibble::type_sum", "mo")
|
||||
s3_register("pillar::pillar_shaft", "rsi")
|
||||
@@ -87,7 +89,7 @@ create_MO.old_lookup <- function() {
|
||||
}
|
||||
|
||||
# copied from vctrs::s3_register
|
||||
s3_register <- function (generic, class, method = NULL) {
|
||||
s3_register <- function(generic, class, method = NULL) {
|
||||
stopifnot(is.character(generic), length(generic) == 1)
|
||||
stopifnot(is.character(class), length(class) == 1)
|
||||
pieces <- strsplit(generic, "::")[[1]]
|
||||
|
||||
Reference in new issue
Block a user