I would really appreciate a walkthrough for a regular R user
Maybe something like:
- You have a script and want to run it on heroku
- run this command to start a new heroku project with this buildpack
- test if it works using this command
- deploy on heroku with this command
I created a rough version here https://blog.rmhogervorst.nl/blog/2020/09/21/running-an-r-script-on-a-schedule-heroku/
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.
I see what you mean, please don't feel pressured to create something because someone opened an issue 😉.