-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add logger::log_shiny_input_changes once it allows to log to a custom namespace #239
Comments
The guys still didn't answer our PR requests. What is the purpose of this task then? |
Alternatively we can use |
The PR that @kpagacz created already merged so this issue is no longer a blocker. We can pick this up after the ddl refactor. |
Note: In the example above, I was adding the log at the |
@donyunardi the PR is there on master but I am not too sure if this got released on CRAN. We should use CRAN only dependencies. This guy is not tagging on his repo so it's hard to check it from there. Using github.com/cran/logger I double checked that the latest release (which is 2 years old btw) does not include the fix. |
|
After a ping he decided to do a release at the end of this week. daroczig/logger#144 |
Hey during this card daroczig/logger#144 |
hey @m7pr I noticed you have done it for modules only. I think we are also interested in covering the "core" as well - |
yeah, the scope was ambiguous. thanks for the clarification |
Close #239 The example loading for `tm_a_pca` on a startup shows how the input change logging is made. We are connected to package namespace (`namespace = "teal.modules.general"`) that is created on a startup with `teal.logger::register_logger(namespace = "teal.modules.general")` This function needs to be called in the server function, so there is no way this can be run during the package startup. <img width="931" alt="image" src="https://github.com/insightsengineering/teal.modules.general/assets/133694481/e9480872-4fd0-4c97-8b59-fdeba8fd41a2"> **Note:** Needed to bring `logger` to Imports. --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
The current, latest version of logger does not allow logging log_shiny_input_changes to a custom namespace.
We have a couple of options:
The objective of the issue is to add the functionality (either our own or logger's) to log changes in shiny inputs. Make sure to exclude sensitive shiny inputs.
The text was updated successfully, but these errors were encountered: