OHDSI Home | Forums | Wiki | Github

Error while installing Study Package

Hi everyone,

I’m trying to use ATLAS and Hydra to create a study package for some practice with OHDSI tools. Once I’ve defined the settings for my analysis, I exported the JSON of my analysis and used the Hydra package to generate the study package (following the instructions at this link).

However, when I open the project in RStudio and try to run the renv::restore() function to synchronize my library with the lockfile, I get this error:

Warning: failed to find binary for 'Andromeda 0.6.0' in package repositories
Warning: failed to retrieve 'https://mran.microsoft.com/snapshot/2022-05-26/bin/macosx/contrib/4.2/Andromeda_0.6.0.tgz' [error code 6]
Warning: failed to find source for 'Andromeda 0.6.0' in package repositories
Warning: failed to find binary for 'RSQLite 2.2.9' in package repositories
Warning: failed to find source for 'RSQLite 2.2.9' in package repositories
Warning: failed to find binary for 'zip 2.2.0' in package repositories
Warning: failed to retrieve 'https://mran.microsoft.com/snapshot/2022-09-10/bin/macosx/contrib/4.2/zip_2.2.0.tgz' [error code 6]
Error: failed to retrieve package 'Andromeda@0.6.0'
In addition: Warning messages:
1: curl: (6) Could not resolve host: mran.microsoft.comcurl: (6) Could not resolve host: mran.microsoft.comcurl: (6) Could not resolve host: mran.microsoft.comcurl: (6) Could not resolve host: mran.microsoft.com 
2: failed to retrieve 'https://mran.microsoft.com/snapshot/2022-05-26/bin/macosx/contrib/4.2/Andromeda_0.6.0.tgz' [error code 6] 
3: curl: (6) Could not resolve host: mran.microsoft.comcurl: (6) Could not resolve host: mran.microsoft.comcurl: (6) Could not resolve host: mran.microsoft.comcurl: (6) Could not resolve host: mran.microsoft.com 

What can I do to resolve and successfully install and run the package I’ve created?
Thank you in advance to anyone who can help.

Best,
Vittoria

Looks like it is using an older version of renv, which was using Microsoft’s CRAN mirror (mran), which has been shut down. The Skeleton Packages will need to be worked on to correct that problem, but the focus has been to shift work towards Strategus.

Folks from Odysseus may be able to help: they have an execution environment (Arachne Execution Engine) that is built from docker that contains a snapshot of dependent libraries that are required to execute skeletons, and that may be able to do the job. @gregk : can you provide some information?

t