Open sdebruyn opened 3 years ago
I think I ran into problems with this line too:
EmaCovidFeasibility:::prepareShinyData(outputFolder, dsNames = NULL, shinyDataFolder = file.path(getwd(),outputFolder,"shinyData"))
I think this just does some work to make RShiny faster. Could you try skipping it and run the EmaCovidFeasibility:::launchEvidenceExplorer
line instead.
@ericaVoss Then you get an error about the missing data from the previous command
> EmaCovidFeasibility:::launchEvidenceExplorer(dataFolder = file.path(getwd(),outputFolder,"shinyData"))
Warning: cannot open compressed file '/home/rstudio/output/shinyData/prepared_cov_counts.rds', probable reason 'No such file or directory'
Error in gzfile(file, "rb") : cannot open the connection
I think what is happening is when you pull the results some items are coming across as NA instead of counts or CONCEPT_IDs. I think this is causing the issue. @sdebruyn I'm happy to try to see how to fix the files with you.
Okay, I can get passed the prepareShinyData() step, I added a 0 into continuousCovs.csv - covariateId column.
But now I'm getting an error on the launchEvidenceExplorer() - which happens at the shiny::runApp(appDir) step.
Error in get_readable_names() :
could not find function "get_readable_names"
Never mind, if you run the library(EmaCovidFeasibility) statement it works.
I tried to run the package as documented in the codeToRun and got the following error when trying to run
prepareShinyData