Title: | Strict modification of objects |
---|---|
Description: | What the package does (one paragraph). |
Authors: | antoine fabri [aut, cre] |
Maintainer: | antoine fabri <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.0.9000 |
Built: | 2024-10-31 05:35:57 UTC |
Source: | https://github.com/cynkra/struct |
bind objects into a tibble_struct
bind_structs(...)
bind_structs(...)
Functions to convert to and from struct classes or to test objects.
list_struct(...) as_list_struct(x) un_list_struct(x) is_list_struct(x) tibble_struct(...) as_tibble_struct(x) un_tibble_struct(x) is_tibble_struct(x) scalar(x) un_scalar(x) is_scalar(x)
list_struct(...) as_list_struct(x) un_list_struct(x) is_list_struct(x) tibble_struct(...) as_tibble_struct(x) un_tibble_struct(x) is_tibble_struct(x) scalar(x) un_scalar(x) is_scalar(x)
... |
elements of the object to build |
x |
object |
Not quite right yet. We want to be able to check easily the structure of an object. Doesn't dive deep into lists unless they are named. Ultimately should dive into the list_of ptypes though, and look prettier.
print_tree(x)
print_tree(x)
x |
object |