HopkinsIDD / COVIDScenarioPipeline

Public shared code for doing scenario forecasting and creating reports for various governmental entities.
GNU General Public License v3.0
104 stars 47 forks source link

local_install.R fails on Docker version #500

Open harryhoch opened 1 year ago

harryhoch commented 1 year ago

I'm trying to run these tools as per Getting Started in a US Location instructions, using Docker.

Base machine is a Mac running Venture (13).

Docker starts fine, but local_install.R fails as follows

(virtualenv) app@0f38c70d01e0:~/covidsp$ Rscript COVIDScenarioPipeline/local_install.R Error in library(devtools) : there is no package called ‘devtools’ Execution halted

I attempted to go into R directly to install devtools manually. Starting R leads to a whole mess of output of the form

'abind': required fields 'Package', 'Version' missing from
DESCRIPTION at path
'/home/app/renv/library/R-4.2/x86_64-pc-linux-gnu/abind/DESCRIPTION',
'arrow': required fields 'Package', 'Version' missing from
DESCRIPTION at path
'/home/app/renv/library/R-4.2/x86_64-pc-linux-gnu/arrow/DESCRIPTION',
'askpass': required fields 'Package', 'Version' missing
from DESCRIPTION at path
'/home/app/renv/library/R-4.2/x86_64-pc-linux-gnu/askpass/DESCRIPTION',
'assertthat': required fields 'Package', 'Version' missing
from DESCRIPTION at path
'/home/app/renv/library/R-4.2/x86_64-pc-linux-gnu/assertthat/DESCRIPTION',
'backports': required fields 'Package', 'Version' missing
from DESCRIPTION at path
'/home/app/renv/library/R-4.2/x86_64-pc-linux-gnu/backports/DESCRIPTION',

continuing on for many more packages...

jcblemai commented 1 year ago

Hi Harry.

I'm sorry, we are in the process of updating the documentation and changing the name of the project, and the github wiki is outdated. We will clarify the situation in the next weeks. In the meantime:

The new documentation is on https://iddynamics.gitbook.io/flepimop/. The error you got is most likely beccause the version of the docker image you have is "lastest" whereas it should be "latest-dev".

Please try with docker pull hopkinsidd/covidscenariopipeline:latest-dev, and do not hesitate to report any other issues.

harryhoch commented 1 year ago

Thanks. I'll try that.