Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

"How to see what's going on" #3

Open
jennybc opened this issue Aug 27, 2018 · 2 comments
Open

"How to see what's going on" #3

jennybc opened this issue Aug 27, 2018 · 2 comments

Comments

@jennybc
Copy link
Member

jennybc commented Aug 27, 2018

I recommend that you gather all the "visibility", "printing", and "debugging" strategies in one place and make it very discoverable. One of my tidy eval learning challenges is that my usual tricks for play and inspection don't work and I can't easily remember the official strategies, like qq_show().

@jennybc
Copy link
Member Author

jennybc commented Aug 27, 2018

I also feel like there are more tips that aren't about a specific function, but rather just a thing one can do while developing a function. I'll try to return here with specific examples, as I re-encounter them.

@lionel-
Copy link
Member

lionel- commented Feb 4, 2019

Using browser() within tidy eval functions to discover the environment.

Could have some qq_show() mode that colourises bindings as a function of where they are found.

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

No branches or pull requests

2 participants