Closed pawelru closed 2 months ago
@pawelru just to clarify, we are planning to remove Show Warnings
verbatim popup from all modules, which e.g. for tm_missing_data
would be the removal of:
And that happens for all modules that we have?
Yes. That's correct.
So I guess we won't need teal.code::get_warnings()
https://github.com/insightsengineering/teal.code/blob/main/R/qenv-get_warnings.R and handling warnings during teal.code::eval_code()
https://github.com/insightsengineering/teal.code/blob/main/R/qenv-eval_code.R#L68-L71
? If this is not used by any module
So I guess we won't need
teal.code::get_warnings()
https://github.com/insightsengineering/teal.code/blob/main/R/qenv-get_warnings.R and handling warnings duringteal.code::eval_code()
https://github.com/insightsengineering/teal.code/blob/main/R/qenv-eval_code.R#L68-L71 ? If this is not used by any module
This I don't know. It's quite likely but you would have to check it.
@gogonzo do you see any usage of @warnings
slot in qenv/teal_data
objects if we stop exposing warnings via teal.code::get_warnings
in modules ?
So I guess we won't need
teal.code::get_warnings()
https://github.com/insightsengineering/teal.code/blob/main/R/qenv-get_warnings.R and handling warnings duringteal.code::eval_code()
https://github.com/insightsengineering/teal.code/blob/main/R/qenv-eval_code.R#L68-L71 ? If this is not used by any module
I think it makes sense to keep get_warnings
in teal.data
. Somebody might need it in custom modules or in its custom framework.
in teal.data
or in teal.code
:)? get_warnings
was introduced in teal.code
I created 4 PRs to remove this functionality from our modules.
@kartikeyakirar , since @gogonzo and @pawelru are away due to the banking holiday tomorrow, would you mind to review?
The goal was to remove Show Warnings
from the UI (hence the server as well) of all modules that we have. Thanks!
https://github.com/insightsengineering/teal.modules.general/pull/749 https://github.com/insightsengineering/teal.modules.clinical/pull/1180 https://github.com/insightsengineering/teal.osprey/pull/264 https://github.com/insightsengineering/teal.goshawk/pull/273
Feature description
As we move away from
chunks
in favour ofqenv
I see little point of having this functionality. I propose to remove it complitely.Code of Conduct
Contribution Guidelines
Security Policy