R: 'print()' and 'str()' generics.

obj_print {vctrs} | R Documentation

## `print()` and `str()` generics.

### Description

These are constructed to be more easily extensible since you can override the `_header()`, `_data()` or `_footer()` components individually. The default methods are built on top of `format()`.

### Usage

    obj_print(x, ...)

    obj_print_header(x, ...)

    obj_print_data(x, ...)

    obj_print_footer(x, ...)

    obj_str(x, ...)

    obj_str_header(x, ...)

    obj_str_data(x, ...)

    obj_str_footer(x, ...)

### Arguments

`x` | A vector
`...` | Additional arguments passed on to methods. See `print()` and `str()` for commonly used options

[Package vctrs version 0.2.4 Index]