travis-ci R suggested package -


in r package have few suggested packages i'm using in examples. such roracle, rpostgresql, rodbc. keeping them in suggests allows skip testing of them, doesn't seems work on travis-ci - recent language: r.

i tried multiple cases:
env: _r_check_force_suggests_=false

env: global: - _r_check_force_suggests_=false

nothing helps, package tries install suggested packages besides option i've set, , results build error. kind of:

** package ‘roracle’ unpacked , md5 sums checked configure: error: oci libraries not found error: configuration failed package ‘roracle’ 1: in utils::install.packages(deps, dependencies = na, ncpus = threads) :   installation of package ‘rodbc’ had non-zero exit status 2: in utils::install.packages(deps, dependencies = na, ncpus = threads) :   installation of package ‘roracle’ had non-zero exit status command "rscript -e 'options(repos = "http://cran.rstudio.com"); trycatch({   deps <- devtools::install_deps(dependencies = true) }, error = function(e) {   message(e);   q(status=1) }); if (!all(deps %in% installed.packages())) {  q(status = 1, save = "no") }'" failed , exited 1 during . build has been stopped. 

any easy way avoid installing postgres, oracle, odbc , still use native travis?

that changed while in r itself, , packages in suggests: need present when running r cmd check. total pain worked before, is...

now, 2 of these in luck can do

install_aptget r-cran-rodbc r-cran-rpostgresql  

but roracle have install package source (or alter suggests:).


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -