I was building an R package on https://travis-ci.org/ and got an error:
The command "tlmgr update --self" failed and exited with 25 during .
The last lines of Travis CI output:
When I call devtools::check()
locally on Windows 10 in RStudio no errors nor warnings arise.
I found that tlmgr
concerns with LaTeX/TexLive packages, and In Travis CI documentation "Building an R Project" it's written that some LaTeX/TexLive may be need to be installed if vignettes require. (Note: there are no vignettes in my package yet.)
Configuration in .travis.yml
file:
language: R
sudo: false
cache: packages
r_github_packages:
- jimhester/covr
after_success:
- Rscript -e 'covr::codecov()'
My question: what is the cause of the problem and how to solve it?