Skip to content

Commit

Permalink
Merge pull request #233 from mrc-ide/update-install
Browse files Browse the repository at this point in the history
Update installation instructions
  • Loading branch information
richfitz authored Aug 31, 2023
2 parents 54c66d3 + d80c2b3 commit 9f67404
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mcstate
Title: Monte Carlo Methods for State Space Models
Version: 0.9.17
Version: 0.9.18
Authors@R: c(person("Rich", "FitzJohn", role = c("aut", "cre"),
email = "rich.fitzjohn@gmail.com"),
person("Marc", "Baguelin", role = "aut"),
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@

## Installation

Install from drat with
Please install from our [r-universe](https://mrc-ide.r-universe.dev/):

```
# install.packages("drat") # -- if you don't have drat installed
drat:::add("ncov-ic")
install.packages("mcstate")
install.packages(
"mcstate",
repos = c("https://mrc-ide.r-universe.dev", "https://cloud.r-project.org"))
```

You will need a compiler to install dependencies for the package, and to build any models. Use `pkgbuild::check_build_tools()` to see if your system is ok to use.
If you prefer, you can install from GitHub with remotes:

The development version of the package can be installed directly from GitHub if you prefer with:

```r
remotes::install_github("mrc-ide/mcstate", upgrade = FALSE)
```
remotes::install_github("mrc-ide/mcstate")
```

You will need recent versions of the `dust`, `odin`, and `odin.dust` packages to use this package, which can be installed in the same way.

## License

Expand Down

0 comments on commit 9f67404

Please sign in to comment.