175 ls(qenv) - #187
Conversation
Code Coverage SummaryDiff against mainResults for commit: d725efc Minimum allowed coverage is ♻️ This comment has been updated with latest results |
pawelru
left a comment
There was a problem hiding this comment.
This is good from my perspective and I like the approach for exposing slot for further use.
Please just raise awareness of this within the team as there is a conflicting PR.
|
I like this that much that I would even go with this to the README and vignettes. Please just make sure to align what's printed to avoid e.g. the following |
Just marked this solution in here insightsengineering/teal#1004 (comment) |
What exactly we should avoid? Printing |
|
I think @pawelru wanted to make sure the same env hash is printed but that is a given because You could add a unit test for env identity but I think that's going a bit too far, there are no operations, it would be testing |
|
Yeah, this crossed my mind but just wanted to double check |
|
I think this might be an overkill. So setMethod("show", "qenv", function(object) {
rlang::env_print(object@env)
})So for |
|
I believe |
|
Yeah, agree. @pawelru would you like us to extend README and vignettes with just an usage of |
Yes please. A very simple example would be great |
|
Amazing, I did extend README and vignettes. Examples in README did not work as |
Close #175