Giter Club home page Giter Club logo

r-travis's Introduction

R+Travis

Build Status

NATIVE R SUPPORT IN TRAVIS IS LIVE!

We've finally merged support based on this repo into Travis-CI, so you can simply use language: r to test your R packages!

Setting up r-travis

This package has a simple shell script for use in running R package builds on travis, along with a sample .travis.yml file. One should be able to set up travis for their own project by:

  • Copying sample.travis.yml to .travis.yml in your project.
    • Copying sample_revdeps.travis.yml to .travis.yml in your project will passively check reverse dependencies.
  • Adding .travis.yml to your .Rbuildignore.
  • Modifying .travis.yml to list any packages that must be installed from github (instead of CRAN).
  • Turn on travis for your project. (Note that in some cases, it may take time for travis to start watching your repo.)
  • Add a travis "build status" shield to your README file.

See the wiki for more extensive documentation and examples.

Linux or OS X builds

By default, builds are done on Linux. That is enabled by choosing language: c in the .travis.yml file. Builds on OS X can be enabled by choosing language: objective-c. See the comments in sample.travis.yml.

Currently, Travis-CI does not support builds that loop over platforms (such as Linux and OS X) in one build.

The future

My plan is to ultimately merge this into travis as a first-class citizen, so that the simplest config would simply say language: R. However, I'm using this repo as a staging ground to make sure I have the kinks worked out first. The end goal would be for the .travis.yml for an R project to be something as simple as

language: r
github_packages:
  - assertthat
  - devtools

r-travis's People

Contributors

craigcitro avatar eddelbuettel avatar hadley avatar romainfrancois avatar krlmlr avatar schloerke avatar richfitz avatar yihui avatar

Watchers

James Cloos avatar Anthony R. Colombo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.