You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't start a teal application without code in teal_data() call
Reproducible example with latest from main
app<-teal::init(
data= teal_data(IRIS=iris),
modules=list(example_module())
) |>shiny::runApp()
#> Warning in teal.data:::get_code_dependency(attr(datasets, "preprocessing_code"), :#> Objects not found in 'qenv' environment: IRIS#> Warning: Error in code_dependency: The 'expression' code input does not contain 'srcref' attribute.#> 1: shiny::runApp#>
Doesn't fail (but gives 2 warnings)
app<-teal::init(
data= teal_data(IRIS=iris, code=""),
modules=list(example_module())
) |>shiny::runApp()
#> Warning in teal.data:::get_code_dependency(attr(datasets, "preprocessing_code"), :#> Objects not found in 'qenv' environment: IRIS#> Warning in teal.data:::get_code_dependency(attr(datasets, "preprocessing_code"), :#> Objects not found in 'qenv' environment: IRIS#>
sessionInfo()
No response
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct.
Contribution Guidelines
I agree to follow this project's Contribution Guidelines.
Security Policy
I agree to follow this project's Security Policy.
The text was updated successfully, but these errors were encountered:
What happened?
Can't start a teal application without code in
teal_data()
callReproducible example with latest from
main
Doesn't fail (but gives 2 warnings)
sessionInfo()
No response
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: