File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,8 @@ S3method(as.data.frame,blob)
1313S3method(c,blob)
1414S3method(format,blob)
1515S3method(is.na,blob)
16- S3method(is_vector_s3,blob)
17- S3method(obj_sum,blob)
1816S3method(print,blob)
19- S3method(type_sum,blob)
2017export(as.blob)
2118export(blob)
2219export(new_blob)
2320importFrom(methods,setOldClass)
24- importFrom(pillar,is_vector_s3)
25- importFrom(pillar,obj_sum)
26- importFrom(pillar,type_sum)
Original file line number Diff line number Diff line change @@ -15,20 +15,17 @@ print.blob <- function(x, ...) {
1515 }
1616}
1717
18- # ' @export
19- # ' @importFrom pillar type_sum
18+ # Dynamically exported, see zzz.R
2019type_sum.blob <- function (x ) {
2120 " blob"
2221}
2322
24- # ' @export
25- # ' @importFrom pillar obj_sum
23+ # Dynamically exported, see zzz.R
2624obj_sum.blob <- function (x ) {
2725 format(x , trim = FALSE )
2826}
2927
30- # ' @export
31- # ' @importFrom pillar is_vector_s3
28+ # Dynamically exported, see zzz.R
3229is_vector_s3.blob <- function (x ) TRUE
3330
3431blob_size <- function (x , digits = 3 , trim = TRUE , ... ) {
Original file line number Diff line number Diff line change 11# nocov start
22.onLoad <- function (... ) {
33 register_s3_method(" pillar" , " pillar_shaft" , " blob" )
4+ register_s3_method(" pillar" , " is_vector_s3" , " blob" )
5+ register_s3_method(" pillar" , " type_sum" , " blob" )
6+ register_s3_method(" pillar" , " obj_sum" , " blob" )
47
58 invisible ()
69}
You can’t perform that action at this time.
0 commit comments