Giter VIP home page Giter VIP logo

naomi's Introduction

Naomi

Travis build status Codecov test coverage

Naomi model for subnational HIV estimates

Installation

The package is not available from CRAN. Instead, the latest version (of this Github repo) may be installed by running the following code from R.

# install.packages("devtools") # Uncomment this line if devtools is not yet installed
devtools::install_github("mrc-ide/naomi")

Development steps

  • Make changes in a new branch
  • Run tests from the command line using make test or via R using devtools::test() to ensure changes don't cause regressions to existing functionality
  • Run build and check before pushing to remote using make build and make check from command line or devtools::check() from R
  • When branch is ready for merging create a PR and add a reviewer
  • Ensure that the version number has been updated according to semantic versioning and add a news item describing the change
  • Reviewer should check code and ensure the build passes on Buildkite before merging

Code coverage

To check code coverage from R.

cov <- covr::package_coverage()
covr::report(cov)

Website

A pkgdown website is available for the package. To update the website using most recent docs and vignettes type make website on the command line from the root directory. Note that to see the effects in place immediately you may need to refresh the browser cache by opening developer console and right click refresh button -> Empty Cache and Hard Reload.

Generating test data

Run ./scripts/build_test_data to run the model and output the fit data. This will speed up some tests and stop the model fitting and uncertainty calculations being done every time. This data is not on Github as it is quite large ~ 220MB for Malawi.

naomi's People

Contributors

jeffeaton avatar r-ash avatar rtesra avatar richfitz avatar osymandius avatar hillalex avatar emmalrussell avatar gaborcsardi avatar nicolas-dolan avatar potoole7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.