R worker for Patavi using NodeJS. Inspired by OpenCPU, but taking an entirely different approach.
First, run npm install from the root directory. Then the following options are available:
node workerruns the Patavi worker. You must define thePATAVI_BROKER_HOSTenvironment variable as a RabbitMQ connection string that includes credentials.node worker-cliruns the worker without the dependency on Patavi. The worker will read input from standard in, show progress on standard out, and print the location of a temporary directory where results have been saved.