OHDSI Home | Forums | Wiki | Github

Failed to install Achilles

Hi,
I am trying to install Achilles on a CentOS 7 vm. I ran the following commands:

  • install.packages(“devtools”)
  • library(devtools)
  • install_github(“ohdsi/SqlRender”, args="–no-multiarch")
  • install_github(“ohdsi/DatabaseConnector”, args="–no-multiarch")
  • install_github(“OHDSI/Achilles”, args="–no-multiarch")

The last command failed with the following error message:

install_github(“OHDSI/Achilles”, args="–no-multiarch")
Downloading GitHub repo OHDSI/Achilles@master
from URL https://api.github.com/repos/OHDSI/Achilles/zipball/master
Installing Achilles
‘/usr/lib64/R/bin/R’ --no-site-file --no-environ --no-save --no-restore
–quiet CMD INSTALL
‘/tmp/Rtmpw1OJbZ/devtools5b8e65c29af1/OHDSI-Achilles-07c47f3’
–library=’/usr/lib64/R/library’ --install-tests --no-multiarch
ERROR: dependency ‘OhdsiRTools’ is not available for package ‘Achilles’

  • removing ‘/usr/lib64/R/library/Achilles’
    Installation failed: Command failed (1)

How can I resolve the 'OhdsiRTools" dependency issue?
Thank you for any advice!

I’m not the expert, but the guy who installed it on my system used:

install.packages(“curl”)
library(devtools)
install_github(“ohdsi/OhdsiRTools”, upgrade_dependencies = FALSE)
install_github(“OHDSI/SqlRender”)
install_github(“OHDSI/DatabaseConnector”)
install_github(“OHDSI/Achilles”, upgrade_dependencies = FALSE)

1 Like

It worked! Thank you so much! @roger.carlson

I’m glad. Because beyond that, I wouldn’t have a clue.

t