habitus-eu / HabitusGUI

Rshiny GUI
Apache License 2.0
3 stars 4 forks source link

Replace hard-coded path to conda environment for local testing #66

Closed vincentvanhees closed 1 year ago

vincentvanhees commented 1 year ago

Even though this is not used on UCloud it would be good if the option to test it locally is not specific to only my work environment but can be easily set to work on any other (Linux) test environment.

josefheidler commented 1 year ago

Can we please fix it so we can be able to test it out even without the UCLOUD?

Maybe the simplest solution to this is to use variable for conda-palmspy inside config file.

What do you think? Thanks

vincentvanhees commented 1 year ago

Sorry, I seem to have missed this message. I am now working on this and think easiest solution is to make an argument to the myApp function, because in that way the person who installs the Shiny app is in control over specifying the location of the conda environment, while the user is not able to change it.

vincentvanhees commented 1 year ago

So, when launching the app it would look like this in R:

library(HabitusGUI) myApp(homedir="~/projects/SDU", envConda = "~/miniconda3/bin/conda")