COVAIL / photon

RStudio Add-in to build Shiny apps utilizing the Electron framework
125 stars 25 forks source link

Clicking App Builder "Select directory" button doesn't do anything #35

Open wbbqhs opened 3 years ago

wbbqhs commented 3 years ago

After launching the Photon Shiny App Builder (either through RStudio Addin or photon::photon_rstudioaddin()), all that clicking the "Select directory" button does is print

[1] "Selected directory: "

on the console, as shown below.

image

Am I missing anything?

R version 3.6.1 (2019-07-05) RStudio Version 1.1.456 Photon 0.0.1

wbbqhs commented 3 years ago

I uninstalled the RStudio installed by Anaconda and installed the standalone RStudio Desktop and R, and set up everything, it's working now. Working set up: R version 4.0.4 (2021-02-15) RStudio Version 1.4.1106 Photon 0.0.1

Brownsey commented 3 years ago

@wbbqhs -> Did you manage to successfully build an application using the package?

wbbqhs commented 3 years ago

@wbbqhs -> Did you manage to successfully build an application using the package?

Yes I did.

Brownsey commented 3 years ago

@wbbqhs Did you have to do anything specific to get it to run? I was trying to run it on the R versions you had but it wasn't working for me. I did copy the electron-quick-start in manually from the github

wbbqhs commented 3 years ago

Which part isn't working for you? One thing I did is to use setwd() in RStudio to set the working directory to directory containing the electron-quick-start folder.

Brownsey commented 3 years ago

I have now managed to get it work but by resetting everything back to r 3.6.x, so I guess just couldnt get it work on r 4.0.x, I also did that setwd() thing