Skip to content

Commit

Permalink
add pre-built binary installation example
Browse files Browse the repository at this point in the history
  • Loading branch information
DyfanJones committed Jul 20, 2023
1 parent 5b78b7b commit 8fc86bb
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,20 @@ If you are using Linux, you will need to install the following OS packages:

Or install the development version from [r-universe](https://paws-r.r-universe.dev/ui#builds):
``` r
# Enable repository from paws-r
options(repos = c(
pawsr = 'https://paws-r.r-universe.dev',
CRAN = 'https://cloud.r-project.org')
)
install.packages('paws', repos = c(pawsr = 'https://paws-r.r-universe.dev', CRAN = 'https://cloud.r-project.org'))
```

As of `paws v0.3.0` it's possible to install paws from pre-build binaries from a CRAN like repository host on AWS S3. We currently provide
pre-built binaries for Linux as Mac and Windows binaries are supported on the CRAN. The main focus of this is to provide linux with some pre-built binaries so that the install time is spead up.

To get the latest pre-built binaries you can use the following:
```r
install.packages('paws', repos = c(pawsr = 'https://paws-r-builds.s3.amazonaws.com/packages/latest/', CRAN = 'https://cloud.r-project.org'))
```

# Download and install paws in R
install.packages('paws')
You can also get a specific version of paws by setting the version:
```r
install.packages('paws', repos = c(pawsr = 'https://paws-r-builds.s3.amazonaws.com/packages/0.3.0/', CRAN = 'https://cloud.r-project.org'))
```

## Credentials
Expand Down

0 comments on commit 8fc86bb

Please sign in to comment.