# Build fails for R release version only

**URL:** <https://travis-ci.community/t/build-fails-for-r-release-version-only/4253>\
**Category:** R\
**Tags:** bug\
**Created:** [July 18, 2019, 6:08am UTC](https://travis-ci.community/t/build-fails-for-r-release-version-only/4253 "2019-07-18T06:08:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbirkelbach](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@rbirkelbach](https://travis-ci.community/u/rbirkelbach)\
**Post date:** [July 18, 2019, 6:08am UTC](https://travis-ci.community/t/build-fails-for-r-release-version-only/4253/1 "2019-07-18T06:08:36Z")

</div>

Hi,  
in our project

> **[GitHub - dzhw/questionMetadataPreparation: Tools to generate and modify...](https://github.com/dzhw/questionMetadataPreparation)**
>
> Tools to generate and modify question metadata files for the MDM - GitHub - dzhw/questionMetadataPreparation: Tools to generate and modify question metadata files for the MDM

we use travis. It started to fail yesterday in this commit:

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/dzhw/questionMetadataPreparation/builds/559965838?utm_source=github_status&utm_medium=notification)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

In order to help debugging it I altered the .travis.yml to use matrix builds.  
It still fails for the R release version, but devel and oldrel work fine as you can see here:

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/dzhw/questionMetadataPreparation/builds/559980296)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

This is the error message I get:

> ```
> 3.87s$ curl -fLo /tmp/R-3.6.1-$(lsb_release -cs).xz https://travis-ci.rstudio.org/R-3.6.1-$(lsb_release -cs).xz
> 
> curl: (22) The requested URL returned error: 403 Forbidden
> 
> The command "eval curl -fLo /tmp/R-3.6.1-$(lsb_release -cs).xz https://travis-ci.rstudio.org/R-3.6.1-$(lsb_release -cs).xz " failed. Retrying, 2 of 3.
> 
> curl: (22) The requested URL returned error: 403 Forbidden
> 
> The command "eval curl -fLo /tmp/R-3.6.1-$(lsb_release -cs).xz https://travis-ci.rstudio.org/R-3.6.1-$(lsb_release -cs).xz " failed. Retrying, 3 of 3.
> 
> curl: (22) The requested URL returned error: 403 Forbidden
> 
> The command "eval curl -fLo /tmp/R-3.6.1-$(lsb_release -cs).xz https://travis-ci.rstudio.org/R-3.6.1-$(lsb_release -cs).xz " failed 3 times.
> 
> The command "curl -fLo /tmp/R-3.6.1-$(lsb_release -cs).xz https://travis-ci.rstudio.org/R-3.6.1-$(lsb_release -cs).xz" failed and exited with 22 during .
> 
> Your build has been stopped.
> 
> ```

You find our config here:

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/dzhw/questionMetadataPreparation/jobs/559980298/config)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

---

<div class="post-metadata">

**Author:** ![jayvdb](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jayvdb/32/1966_2.png) [@jayvdb](https://travis-ci.community/u/jayvdb)\
**Post date:** [July 18, 2019, 6:23am UTC](https://travis-ci.community/t/build-fails-for-r-release-version-only/4253/2 "2019-07-18T06:23:05Z")

</div>

I’ve been running builds against those three R versions and not noticed anything like that.

e.g. [https://travis-ci.org/jayvdb/coala-bears/jobs/560316077#L852](https://travis-ci.org/jayvdb/coala-bears/jobs/560316077#L852)

My jobs are also on trusty. I can’t see the difference to explain why mine work and you build does not.

---

<div class="post-metadata">

**Author:** ![rbirkelbach](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@rbirkelbach](https://travis-ci.community/u/rbirkelbach)\
**Post date:** [July 18, 2019, 6:46am UTC](https://travis-ci.community/t/build-fails-for-r-release-version-only/4253/3 "2019-07-18T06:46:03Z")

</div>

Thank you for your feedback. This must have been fixed somewhere already, as my builds today are working fine without any further changes in the configuration. Consider this topic solved.
