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

In tuneParams(), generate code for reproducing the interactive changes #23

Open
gustavdelius opened this issue Aug 18, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request tuneParams

Comments

@gustavdelius
Copy link
Member

So for each change in a slider or each button press, the command for implementing the resulting change in the params object would be written to a log file. Perhaps the shinymeta package will be useful, or maybe it will be easier to just code it ourselves.

@gustavdelius gustavdelius added the enhancement New feature or request label Aug 18, 2021
@gustavdelius
Copy link
Member Author

In addition to capturing the commands for changing the params object, we should also capture the function calls for producing all the plots the user looked at while using the gadget. That will make it easier to also remember the motivation for making the changes. These calls to the plot functions should be wrapped in if (show_plots) { } and the first line of the code file should be show_plots <- FALSE so that by default running the code will only reproduce the modifications of the params object without also reproducting the plots.

@gustavdelius
Copy link
Member Author

Hi @baldrech , what is the current status of your work on this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tuneParams
Projects
None yet
Development

No branches or pull requests

2 participants