travis and RSPM

I'm trying to use the public RSPM within travis, however I getting a package error. I have two travis runs:

The key lines are around line 23. In the good run, I install stringi before using RSPM, in the bad run, I install stringi with RSPM. In the bad run, travis bombs with the error:

> Rscript -e "stringi::stri_c(1)"
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/home/travis/R/Library/stringi/libs/': cannot open shared object file: No such file or directory

In both travis runs, I've set dist: bionic.


It looks like Travis is still using xenial for these builds. Under Build system information in the logs, I see:

Build language: r
Build dist: bionic
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial

stringi is built with ICU 60 on bionic, so it's not compatible with xenial's ICU 55.

Based on this thread, Travis may not support dist: bionic with R yet:

If that's the case, you can use RSPM's xenial binary repo instead.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.