# Unknown error returned while checking my R package

**URL:** <https://travis-ci.community/t/unknown-error-returned-while-checking-my-r-package/6895>\
**Category:** R\
**Created:** [January 17, 2020, 3:37am UTC](https://travis-ci.community/t/unknown-error-returned-while-checking-my-r-package/6895 "2020-01-17T03:37:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asalavaty](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/asalavaty/32/3656_2.png) [@asalavaty](https://travis-ci.community/u/asalavaty)\
**Post date:** [January 17, 2020, 3:37am UTC](https://travis-ci.community/t/unknown-error-returned-while-checking-my-r-package/6895/1 "2020-01-17T03:37:20Z")

</div>

Travis CI is encountering an error during its setup phrase when building R packages.

**The following is the error** :  
The command “Rscript -e ‘deps \<- remotes::dev\_package\_deps(dependencies = NA);remotes::install\_deps(dependencies = TRUE);if (!all(deps$package %in% installed.packages())) { message("missing: “, paste(setdiff(deps$package, installed.packages()), collapse=”, ")); q(status = 1, save = “no”)}’” failed and exited with 1 during .

I have no remote package in my description. I have only suggested and imported some packages in the DESCRIPTION file all of which are available on CRAN.

It is the same issue previously brought up on Github ([https://github.com/r-lib/devtools/issues/2020#issue-430736777](https://github.com/r-lib/devtools/issues/2020#issue-430736777)).

Does anyone know how to get rid of this error? I think the problem is on Travis’ side as in other checks and environment tests I get no error!

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [January 17, 2020, 6:00pm UTC](https://travis-ci.community/t/unknown-error-returned-while-checking-my-r-package/6895/2 "2020-01-17T18:00:56Z")

</div>

Please link to an affected build, otherwise there’s insufficient information for diagnostics.

---

<div class="post-metadata">

**Author:** ![asalavaty](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/asalavaty/32/3656_2.png) [@asalavaty](https://travis-ci.community/u/asalavaty)\
**Post date:** [January 19, 2020, 12:59am UTC](https://travis-ci.community/t/unknown-error-returned-while-checking-my-r-package/6895/3 "2020-01-19T00:59:17Z")

</div>

Thanks for your reply. Please take a look at the build:  
[https://travis-ci.org/asalavaty/influential/builds/638276992](https://travis-ci.org/asalavaty/influential/builds/638276992)

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [January 19, 2020, 2:21am UTC](https://travis-ci.community/t/unknown-error-returned-while-checking-my-r-package/6895/4 "2020-01-19T02:21:33Z")

</div>

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/asalavaty/influential/builds/638276992)**
>
> 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.

> [@\`rgl\` causing build failure on linux](https://travis-ci.community/t/rgl-causing-build-failure-on-linux/4945/2):
>
> [https://travis-ci.org/avalcarcel9/rtapas/jobs/578919064#L8026:](https://travis-ci.org/avalcarcel9/rtapas/jobs/578919064#L8026:) configure: error: missing required header GL/glu.h $ apt-file search GL/glu.h \<...\> libglu1-mesa-dev: /usr/include/GL/glu.h Other Apt packages might be needed, too:

---

<div class="post-metadata">

**Author:** ![asalavaty](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/asalavaty/32/3656_2.png) [@asalavaty](https://travis-ci.community/u/asalavaty)\
**Post date:** [January 19, 2020, 10:11pm UTC](https://travis-ci.community/t/unknown-error-returned-while-checking-my-r-package/6895/5 "2020-01-19T22:11:26Z")

</div>

can you please explain in more detail how should I resolve this issue?

Should I add any line of code to the yaml file?
