Skip to content

Commit

Permalink
uncomment the install from CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kotov committed Sep 5, 2024
1 parent e274aa4 commit c7cd88d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ post](https://doodles.mountainmath.ca/blog/2020/01/06/flow-maps/).

### Installation

From CRAN (when available):
Install from CRAN:

``` r
# install.packages("flowmapblue")
install.packages("flowmapblue")
```

To install from GitHub you will need to install `remotes` if you don’t
have it yet:
To install the development version from GitHub you will need to install
`remotes` if you don’t have it yet:

``` r
if (!require("remotes")) install.packages("remotes")
Expand All @@ -82,6 +82,8 @@ Sys.setenv(MAPBOX_API_TOKEN = "YOUR_MAPBOX_ACCESS_TOKEN")
```

``` r
library(flowmapblue)

# load locations and flows for Switzerland
data(ch_locations)
data(ch_flows)
Expand Down
8 changes: 5 additions & 3 deletions README.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ as described in this [excellent blog post](https://doodles.mountainmath.ca/blog/

### Installation

From CRAN (when available):
Install from CRAN:

```{r}
# install.packages("flowmapblue")
install.packages("flowmapblue")
```

To install from GitHub you will need to install `remotes` if you don't have it yet:
To install the development version from GitHub you will need to install `remotes` if you don't have it yet:

```{r}
if (!require("remotes")) install.packages("remotes")
Expand All @@ -61,6 +61,8 @@ Sys.setenv(MAPBOX_API_TOKEN = "YOUR_MAPBOX_ACCESS_TOKEN")
```

```{r}
library(flowmapblue)
# load locations and flows for Switzerland
data(ch_locations)
data(ch_flows)
Expand Down

0 comments on commit c7cd88d

Please sign in to comment.