My package passes local tests with devtools::check(), but fails to build with Travis (https://travis-ci.org/mjockers/syuzhet). Travis reports a "checking package dependencies ... ERROR" because the openNLP Package is required but not available. What is the trick to making the package available to Travis? Package is here: https://github.com/mjockers/syuzhet
I needed to update my .travis.yml file to load java, which the openNLP
package requires.
I updated .travis.yml by adding
language: java
and
install:
- sudo R CMD javareconf
The complete working version is at https://github.com/mjockers/syuzhet/blob/master/.travis.yml