# Testing RCall in CI

**URL:** <https://discourse.julialang.org/t/testing-rcall-in-ci/16832>\
**Category:** General Usage\
**Tags:** question, package, ci\
**Created:** [October 26, 2018, 6:00pm UTC](https://discourse.julialang.org/t/testing-rcall-in-ci/16832 "2018-10-26T18:00:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevbonham](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kevbonham/32/216165_2.png) [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Post date:** [October 26, 2018, 6:00pm UTC](https://discourse.julialang.org/t/testing-rcall-in-ci/16832/1 "2018-10-26T18:00:35Z")

</div>

I’m attempting to get CI working on [a package](https://github.com/BioJulia/BiobakeryUtils.jl) that depends on RCall. I copied the initialization code in the RCall repo, but I’m still running into issues. As far as I can tell, there are two things:

1. `Pkg.build("Rcall")` [is failing](https://travis-ci.com/BioJulia/BiobakeryUtils.jl) when running on travis.
2. The RCall build works on [AppVeyor](https://ci.appveyor.com/project/kescobo/biobakeryutils-jl/builds/19769057/job/esv2krlwc55hil4e), but I also need a specific library (Vegan), and I don’t know how to tell appveyor (or travis for that matter) how to install it.

If I comment out the test that uses RCall, it works on both travis and AppVeyor.

Can anyone help or link to examples that have RCall working (especially examples that depend on external libraries)?

---

<div class="post-metadata">

**Author:** ![robertdj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/robertdj/32/103_2.png) [@robertdj](https://discourse.julialang.org/u/robertdj)\
**Post date:** [May 10, 2021, 8:14pm UTC](https://discourse.julialang.org/t/testing-rcall-in-ci/16832/2 "2021-05-10T20:14:26Z")

</div>

Did you figure out how to use RCall in tests?

---

<div class="post-metadata">

**Author:** ![kevbonham](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kevbonham/32/216165_2.png) [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Post date:** [May 12, 2021, 1:44am UTC](https://discourse.julialang.org/t/testing-rcall-in-ci/16832/3 "2021-05-12T01:44:27Z")

</div>

Yes, actually. [https://www.github.com/BioJulia/BiobakeryUtils.jl/tree/main/.github%2Fworkflows%2Fci.yml](https://www.github.com/BioJulia/BiobakeryUtils.jl/tree/main/.github%2Fworkflows%2Fci.yml)

I mostly just copied the one from RCall itself, but had to jump through some hoops to install the package.
