Skip to content

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Oct 2, 2024
1 parent c3a408d commit 462711f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,21 @@ We use `dust` to power several epidemiological models. Public examples include:

## Installation

To install `dust`:
Please install from our [r-universe](https://mrc-ide.r-universe.dev/):

```r
# install.packages("drat") # -- if you don't have drat installed
drat:::add("ncov-ic")
install.packages("dust")
```
install.packages(
"dust",
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 with dust. `dust` uses `pkgbuild` to build its shared libraries so use `pkgbuild::check_build_tools()` to see if your system is ok to use.

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

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

You will need a compiler to install dependencies for the package, and to build any models with dust. `dust` uses `pkgbuild` to build its shared libraries so use `pkgbuild::check_build_tools()` to see if your system is ok to use.

## License

Expand Down

0 comments on commit 462711f

Please sign in to comment.