Skip to content

Commit c7cd88d

Browse files
committed
uncomment the install from CRAN
1 parent e274aa4 commit c7cd88d

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ post](https://doodles.mountainmath.ca/blog/2020/01/06/flow-maps/).
5656

5757
### Installation
5858

59-
From CRAN (when available):
59+
Install from CRAN:
6060

6161
``` r
62-
# install.packages("flowmapblue")
62+
install.packages("flowmapblue")
6363
```
6464

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

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

8484
``` r
85+
library(flowmapblue)
86+
8587
# load locations and flows for Switzerland
8688
data(ch_locations)
8789
data(ch_flows)

README.qmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ as described in this [excellent blog post](https://doodles.mountainmath.ca/blog/
3535

3636
### Installation
3737

38-
From CRAN (when available):
38+
Install from CRAN:
3939

4040
```{r}
41-
# install.packages("flowmapblue")
41+
install.packages("flowmapblue")
4242
```
4343

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

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

6363
```{r}
64+
library(flowmapblue)
65+
6466
# load locations and flows for Switzerland
6567
data(ch_locations)
6668
data(ch_flows)

0 commit comments

Comments
 (0)