r-travis
r-travis copied to clipboard
r-bioc-* is not picked up by 'r_binary_packages' entry
I am new to r-travis, so maybe this has been asked before or should be reported to ppa:marutter/c2d4u
instead.
r_binary_packages:
- graph
- RBGL
- zlibbioc
- Rgraphviz
These four binary package dependency would lead to the error
E: Unable to locate package r-cran-graph` .
Is there any alternative fix (e.g. add extra level of entry cran/bioc
within r_binary_packages
) other than manually doing this
before_install:
- sudo apt-get install -y r-bioc-rgraphviz r-bioc-rbgl r-bioc-zlibbioc r-bioc-graph
If you are not too keen on using binary packages from Linux repos, you can switch your travis "language" (specified at the top of your .travis.yml file) to objective-c instead of c to use a Mac VM which will use binary packages by default and save you time. The r_binary_packages operation is meant only for CRAN packages and prepends 'r-cran-' to its arguments.