Giter Club home page Giter Club logo

Comments (7)

virtualstaticvoid avatar virtualstaticvoid commented on May 24, 2024

I'll investigate the best option to use.

from heroku-buildpack-r.

metalaureate avatar metalaureate commented on May 24, 2024

Wow, thank you!

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 24, 2024

Ok, I've managed to replicate your issue:

Warning: invalid package 'localpkgs/Rstem_0.4-1.tar.gz'
Error: ERROR: no packages specified
Warning message:
In install.packages("localpkgs/Rstem_0.4-1.tar.gz", repos = NULL,  :
  installation of package 'localpkgs/Rstem_0.4-1.tar.gz' had non-zero exit status

I'm working on getting the current directory correct, so that absolute paths aren't necessary.

As a side note; when installing the packages locally, I found that the sentiment package is dependant on the Rstem package, so make sure the Rstem package is installed first.

> install.packages("localpkgs/sentiment_0.2.tar.gz", repos = NULL, type="source")
Warning in install.packages :
  package ‘localpkgs/sentiment_0.2.tar.gz’ is not available (for R version 2.14.1)
Installing package(s) into ‘/home/user/R/Runtime/library’
(as ‘lib’ is unspecified)
ERROR: dependencies ‘tm’, ‘Rstem’ are not available for package ‘sentiment’
* removing ‘/home/user/R/Runtime/library/sentiment’
Warning in install.packages :
  installation of package ‘localpkgs/sentiment_0.2.tar.gz’ had non-zero exit status

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 24, 2024

I've managed to sort out the issue by setting the working directory explicitly before executing init.r during the compile phase.

The changes are on the development branch, so append #development to the buildpack URL when creating your Heroku application:

E.g.

heroku create -s cedar -b https://github.com/virtualstaticvoid/heroku-buildpack-r.git#development

from heroku-buildpack-r.

metalaureate avatar metalaureate commented on May 24, 2024

Fantastic thank you

Sent from my phone.

On Jun 20, 2013, at 10:24 AM, Chris Stefano [email protected] wrote:

I've managed to sort out the issue by setting the working directory explicitly before executing init.r during the compile phase.

The changes are on the development branch, so append #development to the buildpack URL when creating your Heroku application:

E.g.

heroku create -s cedar -b https://github.com/virtualstaticvoid/heroku-buildpack-r.git#development

Reply to this email directly or view it on GitHub.

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 24, 2024

BTW: I created a sample application for this use-case. See heroku-buildpack-r-local-pkg-example.

from heroku-buildpack-r.

metalaureate avatar metalaureate commented on May 24, 2024

Thanks! I'm going to try to combine your build pack into a multipack using https://github.com/ddollar/heroku-buildpack-multi and run Rserv / node (https://github.com/albertosantini/node-rio) front end.

from heroku-buildpack-r.

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.