OpenCPU release 1.4.5: configurable webhooks

November 9, 2014
By

(This article was first published on OpenCPU, and kindly contributed to R-bloggers)

opencpu logo

OpenCPU 1.4.5 is a patch release that improves performance by taking advantage of latest versions of jsonlite, devtools, knitr, openssl, etc. Also new in this release is the option to pass build parameters for deploying on ocpu.io (or your own opencpu server) using the github webhook.

As usual, server binaries for Ubuntu, Fedora and Suse are available from Launchpad and Build Service. There should not be any breaking changes, but perhaps double check that all is OK next time you run apt-get upgrade on your server. If you are in production and do not want to upgrade, make sure to comment-out the opencpu-1.4 ppa in the /etc/apt/sources.list.d/ conf files.

The opencpu-1.4 repository now ships with:

  • OpenCPU 1.4.5
  • R 3.1.2
  • Rcpp 0.11.3
  • RApache 1.2.5
  • RStudio-Server 0.98.1087

For Debian/CentOS users, instructions to build opencpu-server packages from source are on github: rpm and deb.

Configurable webhooks

Any R package on Github can automatically be deployed to https://yourname.ocpu.io/yourpkg by setting the ocpu webhook in your github repository. It takes about 15 seconds to setup, and is a great way to continuously publish and test code, data, documentation, vignettes from your package. You will also get notified by email if your package fails to build. If you are not using ocpu.io yet, now would be a good time to add the webhook 🙂

New in this release is that http parameters added to the webhook URL will be passed to install_github. For example if you want to build vignettes of your package, use webhook:

https://public.opencpu.org/ocpu/webhook?build_vignettes=true

Or if your package is in a subdir in the repo:

https://public.opencpu.org/ocpu/webhook?build_vignettes=true&subdir=pkgdir

In addition to parameters for install_github, there is currently one extra parameter sendmail (true/false) which specifies if the server sends an email with the build status.

To leave a comment for the author, please follow the link and comment on their blog: OpenCPU.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)