Skip to content

Doesn't work on Mac #37

@vijayhrdm

Description

@vijayhrdm

Here is what I did.

Created a shiny app on my Mac. It has an App.R file that calls ui.r and server.r files. Everything works as it should.
Installed photon from CRAN.
Opened the shinypp project in R studio
Ran this command:
photon:::photon_rstudioaddin()
It showed this output.
Listening on http://127.0.0.1:6235
(I selected directory where my app is. Inside this directory photon pulled in a directory named 'electron-quick-start')
[1] "Selected directory: "
[1] "Selected directory: /Volumes/DATA/ShinyApps/cttinshiny"

Running Photon
Warning in normalizePath(file.path(input_path, "R-Portable-Mac")) :
path[1]="/Volumes/DATA/ShinyApps/cttinshiny/R-Portable-Mac": No such file or directory
sh: line 0: cd: /Volumes/DATA/ShinyApps/cttinshiny/R-Portable-Mac: No such file or directory
sh: ./R: No such file or directory
Warning: Error in system: error in running command
3: shiny::runApp
2: shiny::runGadget
1: photon:::photon_rstudioaddin

Warning message:
In if (getAttribs(panels[[i]])$value %in% open) { :
the condition has length > 1 and only the first element will be used

What am I doing wrong?

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