What happened?
While checking for reproducibility of module's R code I realized we are using datasets in the examples that are only on the package. If the code in "Show R code" is copied and pasted to a new R session it won't run as the data won't be available:
ADSL <- tmc_ex_adsl
ADTTE <- tmc_ex_adtte
stopifnot(rlang::hash(ADSL) == "a5ae18b41288b967988d7c260b5fb4f6") # @linksto ADSL
stopifnot(rlang::hash(ADTTE) == "1a66eb6f55ebc2863f3dc1bc1932b061") # @linksto ADTTE
These objects are not available unless one loads teal.modules.clinical (which is available when the examples are run). Should we add teal.modules.clinical:: on the data objects of all the examples?
sessionInfo()
Relevant log output
Code of Conduct
Contribution Guidelines
Security Policy
What happened?
While checking for reproducibility of module's R code I realized we are using datasets in the examples that are only on the package. If the code in "Show R code" is copied and pasted to a new R session it won't run as the data won't be available:
These objects are not available unless one loads teal.modules.clinical (which is available when the examples are run). Should we add
teal.modules.clinical::on the data objects of all the examples?sessionInfo()
Relevant log output
Code of Conduct
Contribution Guidelines
Security Policy