Hi all,
Admittedly, this is really my first foray into using Travis-CI (and building R packages with automated testing). I’ve read through the documentation and have combed through the support blogs, but haven’t found a solution to my problem. Here’s what’s going on:
I’ve built an R package that I’ve tested locally via devtools::check()
and R CMD check
, and the results show that everything passes with 0 errors, 0 warnings, and 0 notes. For context, the (local) log shows
- using R version 4.0.3 (2020-10-10)
- using platform: x86_64-apple-darwin17.0 (64-bit)
I have the local git repository connected to this GitHub repository, and have a .travis.yml
file that triggers a Travis-CI build when I push local commits to GitHub. However, when the build finishes, I get a message that the build failed with this error:
* using log directory ‘/home/travis/build/rossdrucker/sportyR/sportyR.Rcheck’
* using R version 4.0.2 (2020-06-22)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--as-cran’
* checking for file ‘sportyR/DESCRIPTION’ ... OK
* this is package ‘sportyR’ version ‘0.0.0.9000’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking serialization versions ... OK
* checking whether package ‘sportyR’ can be installed ... ERROR
Installation failed.
See ‘/home/travis/build/rossdrucker/sportyR/sportyR.Rcheck/00install.out’ for details.
* DONE
Status: 1 ERROR
I’m not sure what’s causing the error, as everything locally seems to be working correctly. Again, I apologize if these are basic questions or if they’re answered elsewhere, I just couldn’t find anything that seemed to solve this. Any help as to how to get the package to complete on Travis-CI would be greatly appreciated.
Here is a link to the build should it be helpful.
Thank you in advance!
CC: @jeroen and @jimhester