R Package checking package dependencies ERROR in Travis-ci

R Package checking package dependencies ERROR in Travis-ci

我的包通过 devtools::check() 的本地测试,但无法使用 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

我需要更新我的 .travis.yml 文件以加载 java,openNLP 包需要它。

我更新了 .travis.yml 添加了

language: java

install:
  - sudo R CMD javareconf

完整的工作版本在 https://github.com/mjockers/syuzhet/blob/master/.travis.yml

感谢https://whosebug.com/users/1036500/ben