Hey, I have a lot of experience in web development, I always use Python for web development, but for R language, it is similar.
I know you want to convert an R package to a RESTful server.
I think R Shiny package is suitable for doing this, maybe other packages will be ok.
Looking forward to discussing more with you, please send me the URL about the GitHub project.