8

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:

enter image description here

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?

GegznaV
  • 4,938
  • 4
  • 23
  • 43

1 Answers1

0

It seems that tlmgr can't accessing the current repository, you can rollback the repository to the archived version with:

tlmgr option repository ftp://tug.org/historic/systems/texlive/2015/tlnet-final

which gaves

tlmgr: setting default package repository to ftp://tug.org/historic/systems/texlive/2015/tlnet-final

Source: A little trick with tlmgr: Unknown directive …containerchecksum error

Ashraf Sarhan
  • 1,507
  • 16
  • 21