Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

travis error: "package ‘devtools’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version"

I receive the following error from Travis after doing a git push:

Installing R packages from GitHub: jimhester/covr
$ Rscript -e 'devtools::install_github(c("jimhester/covr"), 
build_vignettes = FALSE)'

Error: package ‘devtools’ was installed by an R version with different 
internals; it needs to be reinstalled for use with this R version

Execution halted

More information you can find here: https://travis-ci.org/bozmik/genomation/jobs/315357710#L1125

Do you have any idea how to solve this issue?

like image 942
BoMikGo Avatar asked Dec 12 '17 14:12

BoMikGo


Video Answer


1 Answers

You can add

r_packages:
  - devtools

before

r_github_packages:
  - jimhester/covr

This solve my problem.

like image 138
Chaoran Hu Avatar answered Oct 23 '22 05:10

Chaoran Hu