Deploy packages and apps automatically on our cloud server (or on your own!) by configuring the webhook in your Github repository.

Webhook Location CPU Mem Timeout
https://cloud.opencpu.org/ocpu/webhook Newark, NJ, USA 6 × 2.8 G 12GB 90 sec

Simply copy the URL into the payload URL in your Github settings. Webhooks can be set per repository but also organization wide!

Deployment 1,2,3

  1. Once the webhook is configured on Github, your R package will be deployed automatically each time you push to master.
  2. For each push you will receive an email (in your spam folder) after a few minutes if the build was successful.
  3. The /ocpu/apps directory shows which apps are currently deployed.

The [yourname].ocpu.io domain provides a short URL to a Github user or organization app library on the public cloud server. The table below shows examples.



More Examples

Action URL (short) URL (long)
List installed packages on demo server cran.ocpu.io cloud.opencpu.org/ocpu/library/
List repositories from ropensci ropensci.ocpu.io cloud.opencpu.org/ocpu/apps/ropensci/
Package Info
MASS from CRAN cran.ocpu.io/MASS/ cloud.opencpu.org/ocpu/library/MASS/
cld2 from CRAN cran.ocpu.io/cld2/ cloud.opencpu.org/ocpu/library/cld2/
cld2 from Github ropensci.ocpu.io/cld2/ cloud.opencpu.org/ocpu/apps/ropensci/cld2/
Package Contents
MASS datasets cran.ocpu.io/MASS/data/ cloud.opencpu.org/ocpu/library/MASS/data/
cld2 R objects ropensci.ocpu.io/cld2/R/ cloud.opencpu.org/ocpu/apps/ropensci/cld2/R/
cld2 help pages ropensci.ocpu.io/cld2/man/ cloud.opencpu.org/ocpu/apps/ropensci/cld2/man/
cld2 files ropensci.ocpu.io/cld2/DESCRIPTION cloud.opencpu.org/ocpu/apps/ropensci/cld2/DESCRIPTION
Datasets
mammals sleep data (print) cran.ocpu.io/ggplot2/data/msleep/print cloud.opencpu.org/ocpu/library/ggplot2/data/msleep/print
mammals sleep data (csv) cran.ocpu.io/ggplot2/data/msleep/csv cloud.opencpu.org/ocpu/library/ggplot2/data/msleep/csv
mammals sleep data (json) cran.ocpu.io/ggplot2/data/msleep/json cloud.opencpu.org/ocpu/library/ggplot2/data/msleep/json
Manual pages
msleep help (text) cran.ocpu.io/ggplot2/man/msleep/text cloud.opencpu.org/ocpu/library/ggplot2/man/msleep/text
msleep help (html) cran.ocpu.io/ggplot2/man/msleep/html cloud.opencpu.org/ocpu/library/ggplot2/man/msleep/html
msleep help (pdf) cran.ocpu.io/ggplot2/man/msleep/pdf cloud.opencpu.org/ocpu/library/ggplot2/man/msleep/pdf
Example Apps
appdemo (src) rwebapps.ocpu.io/appdemo cloud.opencpu.org/ocpu/apps/rwebapps/appdemo
stockapp (src) rwebapps.ocpu.io/stockapp cloud.opencpu.org/ocpu/apps/rwebapps/stockapp
nabel (src) rwebapps.ocpu.io/nabel cloud.opencpu.org/ocpu/apps/rwebapps/nabel
markdownapp (src) rwebapps.ocpu.io/markdownapp cloud.opencpu.org/ocpu/apps/rwebapps/markdownapp
mapapp (src) rwebapps.ocpu.io/mapapp cloud.opencpu.org/ocpu/apps/rwebapps/mapapp