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
After successfully loading a patient-level prediction (PLP) evaluation using the loadPlpResult function, attempting to view the report in the Shiny App results in two different behaviors:
Shiny App opens and then closes abruptly.
When accessing the Shiny App through a web browser, clicking the "View Report" option within the "Actions" section results in a blank gray screen.
The error from the R console is:
Listening on http://127.0.0.1:6603
Warning: Ignoring explicitly provided widget ID "resultDataFiltered"; Shiny doesn't use themWarning: Ignoring explicitly provided widget ID "resultDataFiltered"; Shiny doesn't use themWarning: Error in .make_numeric_version: invalid non-character version specification 'x' (type: double) 4: shiny::runApp
3: ShinyAppBuilder::viewShiny [/private/var/folders/1b/3plyy51n7yq4l71722c2xvl80000gn/T/RtmpEasC7f/R.INSTALL1224721efe5df/OHDSI-ShinyAppBuilder-9360b5f/R/ViewShiny.R#138]
2: viewPlps [/private/var/folders/1b/3plyy51n7yq4l71722c2xvl80000gn/T/RtmpawxSw7/R.INSTALL57313205f01d/PatientLevelPrediction/R/ViewShinyPlp.R#168]
1: viewPlp [/private/var/folders/1b/3plyy51n7yq4l71722c2xvl80000gn/T/RtmpawxSw7/R.INSTALL57313205f01d/PatientLevelPrediction/R/ViewShinyPlp.R#71]
Set up (please run in R "sessionInfo()" and copy the output here):
library(FeatureExtraction)
library(PatientLevelPrediction)
library(ResultModelManager)
outputFolder = "~/My path ot the model"
gmbResult = loadPlpResult(file.path(outputFolder, '1', 'plpResult'))
viewPlp(gmbResult)
In the Shiny app or the web browser:
Navigate to the prediction section
Select the target, outcome cohort, click "Generate Report"
Select "View Report" from the "Actions" section.
PLP Log File
The "PLP Log File" doesn't apply in this case.
Additional context
This issue occurs when attempting to view a previously loaded PLP evaluation, not when running the PatientLevelPrediction package directly.
The text was updated successfully, but these errors were encountered:
I've found the issue and filed a report in OhdsiShinyModules which is the package that hosts the PLP shiny app. When I fixed the issue locally (see code in OHDSI/OhdsiShinyModules#365) I ran into more errors when generating the report which I couldn't figure out. I reported them at: OHDSI/OhdsiShinyModules#366
I'm not sure when this will get fixed unfortunately, the former issue is very simple but I've no idea about the second one.
Describe the bug
After successfully loading a patient-level prediction (PLP) evaluation using the
loadPlpResult
function, attempting to view the report in the Shiny App results in two different behaviors:The error from the R console is:
Set up (please run in R "sessionInfo()" and copy the output here):
To Reproduce
The code:
In the Shiny app or the web browser:
PLP Log File
The "PLP Log File" doesn't apply in this case.
Additional context
This issue occurs when attempting to view a previously loaded PLP evaluation, not when running the
PatientLevelPrediction
package directly.The text was updated successfully, but these errors were encountered: