Closed mthbretscher closed 1 year ago
Tagging @donyunardi to transfer it to the core dev team. Thanks.
Hi @edelarua Is this related to https://github.com/insightsengineering/teal.modules.clinical/issues/830? Would the SME team also able to take care of this?
Would the SME team also able to take care of this?
@lcd2yyz I can take this issue!
What happened?
When starting a tm_t_coxreg module with no covarIates selected (which should be the default option for my use case) , then an error occurs.
The following code reproduces this error (example from ?tm_t_coxreg without covariates at startup):
Looking at "Show R code" (see "relevant log output" below) we found that only this line of code is responsible (without any involvement of the dataset yet):
While the error is only caught deep down in the calling hierarchy in a function of the rtables package, the error can easily be prevented by not passing
covariates = NULL
tosummarize_coxreg
, like so:sessionInfo()
Relevant log output
Code of Conduct
Contribution Guidelines
Security Policy