Giter VIP home page Giter VIP logo

r-shiny-electron-app's People

Contributors

lawalter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

r-shiny-electron-app's Issues

Did the set up process change for mac with the newest version of R (4.0.2)?

Hi.

Thanks for putting this together. I've been trying to set up my shiny app for mac using your method for a few hours now and I've gotten stuck.

When I try and run the get-r-mac.sh it downloads 88 MB worth of files but I'm left with .pkgs not what should be there.
Screen Shot 2020-12-07 at 3 28 10 PM

I'm assuming that's limiting function of the Rscript add-cran-binary-pkgs.R because I get a bunch of warnings that the packages weren't found whenever I run that in the R terminal.

Screen Shot 2020-12-07 at 3 29 25 PM

Also... I have laundry list of required packages for my app to run, do you think that's a problem? How do I ensure that all packages are available for my shiny app to eventually use in the electron framework?

Screen Shot 2020-12-07 at 3 27 51 PM

Thanks again!

Trouble with electron-forge make while electron-forge start works

Hello,

I have been trying to convert an R Shiny app into an electron app for Mac. I tried using the instructions with R 4.1.0 in Mojave (10.14).

I stuck with npm 6.13.7 and node 13.9.0. I have installed, and unpacked the R folder using the get-r-mac.sh script (with minor edits to refer to the right files) and installed all the dependency R packages.

When I try electron-forge start, the app starts and works file. But, when I try to package it, I get the error

An unhandled rejection has occurred inside Forge:
ENOENT: no such file or directory, stat '/Users/mojave/.../r-mac/R.framework/Versions/4.1/R'
Error: ENOENT: no such file or directory, stat '/Users/mojave/.../r-mac/R.framework/Versions/4.1/R'

package.json

{
  "name": "ryabhatta",
  "productName": "ryabhatta",
  "version": "1.0.0",
  "description": "My Electron application description",
  "main": "src/index.js",
  "scripts": {
    "start": "electron-forge start",
    "package": "electron-forge package",
    "make": "electron-forge make",
    "publish": "electron-forge publish",
    "lint": "eslint src --color"
  },
  "keywords": [],
  "author": "mojave",
  "license": "MIT",
  "config": {
    "forge": {
      "packagerConfig": {},
      "makers": [
        {
          "name": "@electron-forge/maker-squirrel",
          "config": {
            "name": "ryabhatta"
          }
        },
        {
          "name": "@electron-forge/maker-zip",
          "platforms": [
            "darwin"
          ]
        },
        {
          "name": "@electron-forge/maker-deb",
          "config": {}
        },
        {
          "name": "@electron-forge/maker-rpm",
          "config": {}
        }
      ]
    }
  },
  "dependencies": {
    "axios": "^0.21.4",
    "electron-squirrel-startup": "^1.0.0",
    "esm": "^3.2.25",
    "execa": "^5.1.1"
  },
  "devDependencies": {
    "@babel/core": "^7.15.5",
    "@babel/plugin-transform-async-to-generator": "^7.14.5",
    "@babel/preset-env": "^7.15.6",
    "@babel/preset-react": "^7.14.5",
    "@electron-forge/cli": "^6.0.0-beta.61",
    "@electron-forge/maker-deb": "^6.0.0-beta.61",
    "@electron-forge/maker-rpm": "^6.0.0-beta.61",
    "@electron-forge/maker-squirrel": "^6.0.0-beta.61",
    "@electron-forge/maker-zip": "^6.0.0-beta.61",
    "electron": "14.0.1",
    "eslint": "^7.32.0",
    "eslint-config-airbnb": "^18.2.1",
    "eslint-plugin-import": "^2.24.2",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-react": "^7.25.1",
    "eslint-plugin-react-hooks": "^4.2.0",
    "fs-extra": "^10.0.0"
  }
}

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.