Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle term_rcrd() objects incorporated into data.frames #48

Closed
joethorley opened this issue Aug 28, 2020 · 2 comments
Closed

How to handle term_rcrd() objects incorporated into data.frames #48

joethorley opened this issue Aug 28, 2020 · 2 comments

Comments

@joethorley
Copy link
Member

library(term)
data.frame(x = term("a"))
#>   x
#> 1 a
data.frame(y = term_rcrd("a")) 
#>   y.par y.dim
#> 1     a     1

Created on 2020-08-28 by the reprex package (v0.3.0)

@krlmlr
Copy link
Collaborator

krlmlr commented Aug 31, 2020

We can use vec_proxy():

vctrs::vec_proxy(term::term_rcrd("a"))
#>   par dim
#> 1   a   1

Created on 2020-08-31 by the reprex package (v0.3.0)

@joethorley joethorley pinned this issue Sep 8, 2020
@joethorley
Copy link
Member Author

Great thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants