[R-pkg-devel] help troubleshooting travis-ci issues?

Ben Bolker bbo|ker @end|ng |rom gm@||@com
Mon Aug 5 01:09:33 CEST 2019


  Thanks everyone!  Passes now.

On 2019-08-04 7:05 p.m., Dirk Eddelbuettel wrote:
> 
> On 5 August 2019 at 00:13, Iñaki Ucar wrote:
> | On Mon, 5 Aug 2019 at 00:08, Ben Bolker <bbolker using gmail.com> wrote:
> | >
> | >
> | >   Yeah, I might try that, or I might try installing the downstream
> | > packages that are causing problems from Rutter's repo.
> | 
> | AFAICT from the build log, the packages that are causing problems are
> | being installed precisely from Rutter's repo:
> | 
> | Get:7 http://ppa.launchpad.net/marutter/c2d4u/ubuntu xenial/main amd64
> | r-cran-ps amd64 1.3.0-1cran1ppa0 [149 kB]
> | Get:20 http://ppa.launchpad.net/marutter/c2d4u/ubuntu xenial/main
> | amd64 r-cran-fansi amd64 0.4.0-1cran1ppa0 [133 kB]
> | Get:42 http://ppa.launchpad.net/marutter/c2d4u/ubuntu xenial/main
> | amd64 r-cran-scales amd64 1.0.0-1cran1ppa0 [422 kB]
> | 
> | but not from c2d4u3.5.
> 
> Yes, and that is the problem just like Josh said. We want '3.5' (or greater),
> not '3.4'.  Ie in r-travis (which is what use for my packages) I have
> 
> BootstrapLinux() {
>     # Set up our CRAN mirror.
>     if [[ "${R_VERSION}" == "3.5" ]]; then
>         sudo add-apt-repository "deb ${CRAN}/bin/linux/ubuntu $(lsb_release -cs)-cran35/"
>     elif [[ "${R_VERSION}" == "3.4" ]]; then
>         sudo add-apt-repository "deb ${CRAN}/bin/linux/ubuntu $(lsb_release -cs)/"
>     fi
>     sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
> 
>     # Add marutter's c2d4u repository.
>     if [[ "${R_VERSION}" == "3.5" ]]; then
>         sudo add-apt-repository -y "ppa:marutter/rrutter3.5"
>         sudo add-apt-repository -y "ppa:marutter/c2d4u3.5"
>     elif [[ "${R_VERSION}" == "3.4" ]]; then
>         sudo add-apt-repository -y "ppa:marutter/rrutter"
>         sudo add-apt-repository -y "ppa:marutter/c2d4u"
>     fi
> 
> 
> Cf https://github.com/eddelbuettel/r-travis/blob/master/run.sh#L96-L112 
> 
> Dirk



More information about the R-package-devel mailing list