Skip to content

Time series analysis doesn't work if temporal cohort characterization is set to FALSE #1187

@katy-sadowski

Description

@katy-sadowski

Describe the bug
I got this error when trying to view the time series analysis results in the Shiny app. I realized it was only happening when I didn't also run the temporal cohort char.

Warning: Error in UseMethod: no applicable method for 'inner_join' applied to an object of class "NULL"
108: dplyr::inner_join
107: %>%
106: ::
plotly
renderPlotly
105: func
102: shinyRenderWidget
101: func
88: renderFunc
87: output$DiagnosticsExplorer-timeDistributions-timeDistributionPlot
2: shiny::runApp
1: CohortDiagnostics::launchDiagnosticsExplorer
Warning: Error in UseMethod: no applicable method for 'inner_join' applied to an object of class "NULL"

To Reproduce
Steps to reproduce the behavior: Execute CDx with time series TRUE and temporal cohort char FALSE. Merge results files. Run Shiny viewer and navigate to time series tab.

Expected behavior
Time series boxplots will show up. Instead it's a red error message (same as in R console)

Additional context
May be related to #1090 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions