I have 2 modules that return the following:
In parent shiny I want to join the 2 datasets inside an observeEvent:
vals <- reactiveValues()
vals$dataset1 <- callModule(id="module1",dataset1)
vals$dataset2 <- callModule(id="module2",dataset2)
vals$new_dataset <- left_join(vals$dataset1,vals$dataset2)
When I try to output new_dataset I get: Error in is.finite: default method not implemented for type 'list'
How should I do it correctly?
I have to mention that if i try to output dataset1 or dataset2 separately (either with vals$dataset1 or just using callModule), it is succesfull, but i can not process the new_dataset from 2 reactive datasets produced by 2 modules.
Thank you very much.