我在https://travis-ci.org/上构建了一个R包,得到了一个错误:
The command "tlmgr update --self" failed and exited with 25 during .Travis CI输出的最后一行:

当我在Windows10上本地调用devtools::check()时,在RStudio中没有出现错误或警告。
我发现tlmgr与LaTeX/TexLive包有关,而在Travis文档“建设R项目”中,如果需要安装一些LaTeX/TexLive可能需要安装。(注:我的包裹里还没有小插曲。)
.travis.yml文件中的配置:
language: R
sudo: false
cache: packages
r_github_packages:
- jimhester/covr
after_success:
- Rscript -e 'covr::codecov()'我的问题:,问题的原因是什么,如何解决?
发布于 2016-09-15 05:24:33
看起来tlmgr无法访问当前的存储库,您可以使用以下方法将存储库回滚到存档版本:
tlmgr option repository ftp://tug.org/historic/systems/texlive/2015/tlnet-final哪个洞
tlmgr: setting default package repository to ftp://tug.org/historic/systems/texlive/2015/tlnet-finalhttps://stackoverflow.com/questions/37677468
复制相似问题