<commit_before># R+Travis

[![Build Status](https://travis-ci.org/craigcitro/r-travis.png)](https://travis-ci.org/craigcitro/r-travis)


This package has a simple shell script for use in running R package builds on
[travis](http://travis-ci.org/), 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.
* 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](https://travis-ci.org/profile) for your project.
* Add a [travis shield](http://about.travis-ci.org/docs/user/status-images/)
  to your `README` file.

## 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.
<commit_msg>Update README.<commit_after># R+Travis

[![Build Status](https://travis-ci.org/craigcitro/r-travis.png)](https://travis-ci.org/craigcitro/r-travis)


This package has a simple shell script for use in running R package builds on
[travis](http://travis-ci.org/), 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.
* 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](https://travis-ci.org/profile) for your project.
* Add a [travis shield](http://about.travis-ci.org/docs/user/status-images/)
  to your `README` file.

## 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

{'fraction_non_alphanumeric': 0.11286576869484441, 'fraction_numerical': 0.0, 'mean_word_length': 3.8843537414965987, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4504122', 'n_tokens_mistral': 715, 'n_tokens_neox': 712, 'n_words': 272}