# Travis ci build failed due to installed package but not found

**URL:** <https://travis-ci.community/t/travis-ci-build-failed-due-to-installed-package-but-not-found/2372>\
**Category:** R\
**Created:** [February 19, 2019, 4:16pm UTC](https://travis-ci.community/t/travis-ci-build-failed-due-to-installed-package-but-not-found/2372 "2019-02-19T16:16:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iago](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/iago/32/1415_2.png) [@iago](https://travis-ci.community/u/iago)\
**Post date:** [February 19, 2019, 4:16pm UTC](https://travis-ci.community/t/travis-ci-build-failed-due-to-installed-package-but-not-found/2372/1 "2019-02-19T16:16:54Z")

</div>

The Travis CI build of a github pull request I did fails after trying to load a the package mgcv. I get in the ‘Checking package’ section:

Error: processing vignette … failed with diagnostics:  
there is no package called ‘mgcv’  
Execution halted

However, this package appears above in the section ‘Installed package versions’:  
package \*version date lib source  
mgcv 1.8-26 2018-11-21 [2] CRAN (R 3.5.2)

Also, I have installed the same versions of R and of that package in my computer, and I have no problem to run the same file.

---

<div class="post-metadata">

**Author:** ![jimhester](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jimhester/32/364_2.png) [@jimhester](https://travis-ci.community/u/jimhester)\
**Post date:** [February 19, 2019, 4:35pm UTC](https://travis-ci.community/t/travis-ci-build-failed-due-to-installed-package-but-not-found/2372/2 "2019-02-19T16:35:55Z")

</div>

Please provide a link to the failing build.

---

<div class="post-metadata">

**Author:** ![iago](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/iago/32/1415_2.png) [@iago](https://travis-ci.community/u/iago)\
**Post date:** [February 20, 2019, 8:02am UTC](https://travis-ci.community/t/travis-ci-build-failed-due-to-installed-package-but-not-found/2372/3 "2019-02-20T08:02:47Z")

</div>

The link: [https://travis-ci.org/hadley/multidplyr/builds/495428492](https://travis-ci.org/hadley/multidplyr/builds/495428492)

---

<div class="post-metadata">

**Author:** ![iago](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/iago/32/1415_2.png) [@iago](https://travis-ci.community/u/iago)\
**Post date:** [March 21, 2019, 2:12pm UTC](https://travis-ci.community/t/travis-ci-build-failed-due-to-installed-package-but-not-found/2372/4 "2019-03-21T14:12:59Z")

</div>

Could it be a problem due to the package parallel is not installed?
