Giter VIP home page Giter VIP logo

Comments (5)

aarizvi avatar aarizvi commented on July 26, 2024

Are you using mac or windows?

Can you send me sessionInfo()

from photon.

sbr2567 avatar sbr2567 commented on July 26, 2024

Sorry windows. Sure do you just need the console?

from photon.

aarizvi avatar aarizvi commented on July 26, 2024

So if you go to powershell or the linux emulator on Windows and typed in:

git --version
node -v
npm -v

All of three of those commands work?

from photon.

sbr2567 avatar sbr2567 commented on July 26, 2024

Here's the console

photon::photon_rstudioaddin()
Loading required namespace: miniUI
Loading required namespace: shinyFiles
Loading required package: shiny

Listening on {my ip address}
Running Photon
The directory is D:/ShinyDtest/Test1
Warning: Error in system2: '"git"' not found
76: system2
75: photon::startFun
74: observeEventHandler
3: shiny::runApp
2: shiny::runGadget
1: photon::photon_rstudioaddin

Results from powershell

PS C:\Users\srb> git --version
git version 2.26.1.windows.1

PS C:\Users\srb> node -v
v12.16.2

PS C:\Users\srb> npm -v
6.14.4

Session Info

sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] stringr_1.4.0 shiny_1.4.0.2

loaded via a namespace (and not attached):
[1] Rcpp_1.0.4.6 rstudioapi_0.11 magrittr_1.5 xtable_1.8-4 R6_2.4.1 rlang_0.4.5 fastmap_1.0.1 fansi_0.4.1
[9] tools_3.6.3 packrat_0.5.0 photon_0.0.1 miniUI_0.1.1.1 cli_2.0.2 htmltools_0.4.0 shinyFiles_0.8.0 ellipsis_0.3.0
[17] assertthat_0.2.1 digest_0.6.25 tibble_3.0.0 lifecycle_0.2.0 crayon_1.3.4 later_1.0.0 vctrs_0.2.4 promises_1.1.0
[25] fs_1.4.1 rsconnect_0.8.16 glue_1.4.0 mime_0.9 stringi_1.4.6 pillar_1.4.3 compiler_3.6.3 jsonlite_1.6.1
[33] httpuv_1.5.2 pkgconfig_2.0.3

from photon.

sbr2567 avatar sbr2567 commented on July 26, 2024

Interesting. I restarted my computer and tried to run the package again. This time it's a different error. Any ideas what would be causing this?

photon::photon_rstudioaddin()
Loading required namespace: miniUI
Loading required namespace: shinyFiles
Loading required package: shiny

Listening on {my ip}
Running Photon
The directory is D:/ShinyDtest/Test1
Warning in system2("git", args = c("clone https://github.com/ColumbusCollaboratory/electron-quick-start", :
running command '"git" clone https://github.com/ColumbusCollaboratory/electron-quick-start D:/ShinyDtest/Test1' had status 129
'D:/ShinyDtest' is not recognized as an internal or external command,
operable program or batch file.
Warning in shell(sprintf("%s/R.exe --file=%s/install_packages.R -q --slave --args cran_packages %s github_packages %s bioc_packages %s", :
'D:/ShinyDtest/Test1/electron-quick-start/R-Portable-Win/bin/R.exe --file=D:/ShinyDtest/Test1/electron-quick-start/R-Portable-Win/bin/install_packages.R -q --slave --args cran_packages mgcv,matrixStats github_packages thomasp85/patchwork bioc_packages SummarizedExperiemnt,VariantAnnotation' execution failed with error code 1
The directory name is invalid.
Warning in shell(sprintf("cd %s && npm install", electron_win_dir)) :
'cd D:/ShinyDtest/Test1\electron-quick-start && npm install' execution failed with error code 1
The directory name is invalid.
Warning in shell(sprintf("cd %s && npm run package-win", electron_win_dir)) :
'cd D:/ShinyDtest/Test1\electron-quick-start && npm run package-win' execution failed with error code 1

from photon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.