Skip to content

Commit

Permalink
Update informations about how to get the binary package of the develo…
Browse files Browse the repository at this point in the history
…pment version of ade4
  • Loading branch information
aursiber committed Mar 29, 2024
1 parent 4097c08 commit d14f5e2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 37 deletions.
27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ or
---------------------------


Installing *ade4*
Installing the development version of `ade4`
-------------

To install the development version from github:
- Install the release version of `remotes` from CRAN with `install.packages("remotes")`.

1. Install the release version of `remotes` from CRAN with `install.packages("remotes")`.

2. Make sure you have a working development environment.
- Make sure you have a working development environment.
* **Windows**: Install [Rtools](http://cran.r-project.org/bin/windows/Rtools/).
* **Mac**: Install Xcode from the Mac App Store.
* **Linux**: Install a compiler and various development libraries (details vary across different flavors of Linux).
Expand All @@ -40,20 +38,23 @@ Then:
remotes::install_github("adeverse/ade4")
```

The stable version can be installed from CRAN using:

If you do not wish to install the development environments Rtools (Windows) / XCode (Mac), we can supply binary packages of the development version of `ade4` on request.

You can also find these binary packages as artifacts of GitHub Actions: [here](https://github.com/adeverse/ade4/actions/workflows/build-bin-windows.yaml) for Windows and [here](https://github.com/adeverse/ade4/actions/workflows/build-bin-macOS-x64.yaml) and [here](https://github.com/adeverse/ade4/actions/workflows/build-bin-macOS-M1.yaml) for macOS.


Installing the stable version of `ade4`
-------------

```r
install.packages("ade4")
```

Once installed, the package can be loaded using:

Loading `ade4`
-------------

```r
library("ade4")
```

If you do not wish to install the development environments Rtools (Windows) / XCode (Mac), you can get the binary packages here:

* [**Windows**](http://pbil.univ-lyon1.fr/members/thioulouse/bin/windows/)

* [**macOS**](http://pbil.univ-lyon1.fr/members/thioulouse/bin/macosx/)
37 changes: 13 additions & 24 deletions vignettes/articles/install.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,42 @@
title: "Installing `ade4`"
---

[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/ade4)](http://cran.r-project.org/package=ade4)
[![CRAN_Release_Badge](http://www.r-pkg.org/badges/version-ago/ade4)](http://cran.r-project.org/package=ade4)
[![CRAN Downloads](https://cranlogs.r-pkg.org/badges/ade4)](https://cran.r-project.org/package=ade4)
[![R-CMD-check](https://github.com/adeverse/ade4/workflows/R-CMD-check/badge.svg)](https://github.com/adeverse/ade4/actions)
[![R-CMD-check](https://github.com/adeverse/ade4/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/adeverse/ade4/actions/workflows/R-CMD-check.yaml)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

## The current *stable* version can be installed from CRAN using:

```r
install.packages("ade4")
```
## Installing the *development* version of `ade4`

## To install the *development* version from github:
- Install the release version of `remotes` from CRAN with `install.packages("remotes")`.

1. Install the release version of `remotes` from CRAN with `install.packages("remotes")`.

2. Make sure you have a working development environment.
- Make sure you have a working development environment.
* **Windows**: Install [Rtools](http://cran.r-project.org/bin/windows/Rtools/).
* **Mac**: Install Xcode from the Mac App Store.
* **Linux**: Install a compiler and various development libraries (details vary across different flavors of Linux).

3. Then you can use the following command:
Then:

```r
remotes::install_github("adeverse/ade4")
```

**Note:** If you do not wish to install the development environments Rtools (Windows) or XCode (Mac), you can get pre-compiled binary packages here:

* [**Windows**](http://pbil.univ-lyon1.fr/members/thioulouse/bin/windows/)
If you do not wish to install the development environments Rtools (Windows) / XCode (Mac), we can supply binary packages of the development version of `ade4` on request.

* [**macOS**](http://pbil.univ-lyon1.fr/members/thioulouse/bin/macosx/)
You can also find these binary packages as artifacts of GitHub Actions: [here](https://github.com/adeverse/ade4/actions/workflows/build-bin-windows.yaml) for Windows and [here](https://github.com/adeverse/ade4/actions/workflows/build-bin-macOS-x64.yaml) and [here](https://github.com/adeverse/ade4/actions/workflows/build-bin-macOS-M1.yaml) for macOS.

So you can use (for example) the following commands.

* On Windows computers:
```r
install.packages("http://pbil.univ-lyon1.fr/members/thioulouse/bin/windows/windows/ade4_1.7-22.zip")
```
## Installing the *stable* version of `ade4`

* On Mac computers:
```r
install.packages("http://pbil.univ-lyon1.fr/members/thioulouse/bin/macosx/macosxarm/ade4_1.7-22.tgz")
install.packages("ade4")
```

## Once installed, the package can be loaded using:

## Loading `ade4`

```r
library("ade4")
```

0 comments on commit d14f5e2

Please sign in to comment.