[R-pkg-devel] help troubleshooting travis-ci issues?
bbo|ker @end|ng |rom gm@||@com
Mon Aug 5 00:12:01 CEST 2019
On 2019-08-04 6:08 p.m., Joshua Ulrich wrote:
> On Sun, Aug 4, 2019 at 4:54 PM Ben Bolker <bbolker using gmail.com> wrote:
>> On 2019-08-04 5:43 p.m., Iñaki Ucar wrote:
>>> On Sun, 4 Aug 2019 at 23:26, Ben Bolker <bbolker using gmail.com> wrote:
>>>> I'm having some trouble with travis builds of a package (local checks
>>>> work fine) and hoping if I can get suggestions for diagnosis &
>>>> troubleshooting ...
>>>> The package is 'broom.mixed'; I hadn't changed it in a while, but
>>>> recently got a minor pull request which seemed reasonable. I believe the
>>>> problems I'm having now are dependency and/or caching problems, not
>>>> actually related to the changes in the package.
>>>> The failing build is here
>>> I see various "package x was installed by an R version with different
>>> internals; it needs to be reinstalled for use with this R version".
>>> Top of the page, right side, you should see More options > Caches. Try
>>> removing them and restart the build.
>> I tried that already, thanks. That's why I'm now suspecting it's some
>> kind of mismatch between the Rutter PPAs and the default (?) repos that
>> Travis uses. It would be a little painful, but I could edit out the
>> rstan dependency and try the builds with and without Rutter's PPA to
>> test that hypothesis ...
> Try changing:
> sudo add-apt-repository -y "ppa:marutter/rrutter"
> sudo add-apt-repository -y "ppa:marutter/c2d4u"
> sudo add-apt-repository -y "ppa:marutter/rrutter3.5"
> sudo add-apt-repository -y "ppa:marutter/c2d4u3.5"
> The R C API changed between R-3.4.x and R-3.5.x, which created
> incompatibility in packages installed using different versions. Any R
>> 3.6.x should use the "ppa:*3.5" PPAs.
>> Ben Bolker
Aha! That sounds like it might be the right answer. I almost tried
it, but I thought that the non-specifically tagged PPA
(ppa:marutter/c2d4u) was *post*-3.5 instead of *pre*-3.5 (and that
therefore it wouldn't help since I'm building on r-release (3.6) and
r-devel (3.x) ...)
>> R-package-devel using r-project.org mailing list
More information about the R-package-devel