/como

CoMo COVID-19 App repository.

Primary LanguageROtherNOASSERTION

License: CC BY-NC 4.0 Build Status AppVeyor build status DOI

COVID-19 App | CoMo Consortium

Authors

Important Disclaimer

Whilst every effort has been taken during the development of this tool/model for it to be as accurate and reliable as possible it is important that the user understands that the outputs are a prediction based on the assumptions chosen through the input parameter values. In view of the current uncertainty on the COVID-19 mechanisms of action, the output of the model should be used to explore multiple scenarios and in combination with a larger evidence base during decision-making.

The appropriate use of this tool/model and its output can contribute to effective policymaking, but misuse or misinterpretation of the output can mislead decision-making. Any decisions taken whist using these tools are the responsibility of the user and no liability whatsoever will be taken by the developers/authors of the tool.

License

This is a human-readable summary of (and not a substitute for) the license. You are free to:

  • Share — copy and redistribute the material in any medium or format
  • Adapt — remix, transform, and build upon the material Under the following terms:
  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • NonCommercial — You may not use the material for commercial purposes.
  • ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Online App

The App can be used from https://comomodel.net.

Offline App

The App can also be run locally. Follow the instructions below to install, update or launch the offline App.

Installation

(A) on Windows

  • check your version of by typing R.Version()$version.string in your console
  • if your R version is 3.6.x, install this version of Rtools..
  • if your R version is 4.0 and up, install this version of Rtools.
  • Run the installer, you can accept the defaults throughout.
  • Restart your machine

(B) on macOS

  • check if your R version is 4.0 and up. Otherwise update R.
  • Install XCode 11 from the Mac App Store..
  • check your macOS version (From the Apple menu  in the corner of your screen, choose About This Mac. You'll see the macOS name, such as macOS Mojave, followed by its version number.)
  • Go to https://github.com/fxcoudert/gfortran-for-macOS/releases, identify your macOS version, click on the corresponding > Assets in the page and download the .dmg (e.g. gfortran-8.2-Mojave.dmg)
  • Run the installer and restart your machine

Once the C/C++ compiler has been installed:

  • Open R and run in the console: install.packages("remotes")
  • Run: remotes::install_github("ocelhay/como", upgrade = "never")
  • Close and reopen R.

Launch

To launch the CoMo App, open R and run in the console: como::comomodel().

Update

To update to the latest version, run: remotes::install_github("ocelhay/como", upgrade = "never")

Troubleshooting

  1. During the installation, if prompted --- Please select a CRAN mirror for use in this session ---, select 'Cloud'.
  2. During the installation, if prompted Do you want to install from sources the packages which need compilation? (Yes/no/cancel), return no.
  3. If the internet connection is not steady, re-run the commands as often as required for the download to proceed.
  4. Restart R and update all packages update.packages()