Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/photon_rstudioaddin.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ photon_rstudioaddin <- function(RscriptRepository = NULL) {
# Shiny fileinput resethandler

miniUI::gadgetTitleBar("Use Photon to Build Standalone Shiny Apps",
left = NULL, right = NULL),
left = NULL),

miniUI::miniTabstripPanel(
#miniUI::miniTabPanel(
Expand Down
3 changes: 2 additions & 1 deletion R/startFun.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ startFun <- function(input_path, cran_packages=NULL, bioc_packages=NULL, github_


} else if(.Platform$OS.type=="unix") {
r_portable_path <- normalizePath(file.path(input_path, "R-Portable-Mac"))
r_portable_path <- normalizePath(file.path(electron_path, "R-Portable-Mac"))


r_electron_version <- system(sprintf("cd %s; ./R CMD BATCH --version",
Expand Down Expand Up @@ -160,6 +160,7 @@ startFun <- function(input_path, cran_packages=NULL, bioc_packages=NULL, github_
system(sprintf("cd %s; npm install; npm run package-mac",
r_portable_path))
}
message("Photon finished")
}