virtualstaticvoid / heroku-buildpack-r

Heroku buildpack for R - Makes deploying R on Heroku easy
MIT License
304 stars 236 forks source link

I would really appreciate a walkthrough for a regular R user #143

Open RMHogervorst opened 3 years ago

RMHogervorst commented 3 years ago

Maybe something like:

  1. You have a script and want to run it on heroku
  2. run this command to start a new heroku project with this buildpack
  3. test if it works using this command
  4. deploy on heroku with this command
RMHogervorst commented 3 years ago

I created a rough version here https://blog.rmhogervorst.nl/blog/2020/09/21/running-an-r-script-on-a-schedule-heroku/

virtualstaticvoid commented 3 years ago

Hi @RMHogervorst

There are a couple posts I've see around, but all assume existing knowledge of R, Heroku, how projects are structured, how Heroku deployments work with buildpacks, combining multiple buildpacks etc. Also there isn't an opinionated way to test R programs in the context of Heroku; at least to my knowledge.

The most comprehensive post I've seen is this one by Steve Condylios although it is for a Shiny application.

Your 2018 post does a good job of covering the basics, albeit for the heroku-16 stack, but the buildpack hasn't changed that much for the current heroku-18 stack, so it is still relevant.

I'm afraid I have limited time at the moment, otherwise I'd have a go at writing a such a guide.

RMHogervorst commented 3 years ago

I see what you mean, please don't feel pressured to create something because someone opened an issue 😉.