Skip to content

Commit 35aa49a

Browse files
committed
Adds new installation
1 parent a09e386 commit 35aa49a

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

README.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ knitr::opts_chunk$set(
1111
comment = "#>",
1212
fig.path = "man/figures/"
1313
)
14+
set.seed(42)
1415
```
1516

1617
# metR <img src="man/figures/logo.png" align="right"/>
@@ -34,11 +35,10 @@ You can install metR from CRAN with:
3435
install.packages("metR")
3536
```
3637

37-
Or the development version ([![Build Status](https://github.com/eliocamp/metR/workflows/R-CMD-check/badge.svg?branch=dev)](https://github.com/eliocamp/metR/actions?query=workflow%3AR-CMD-check)) with:
38+
Or the development version with:
3839

3940
```{r gh-installation, eval = FALSE}
40-
# install.packages("devtools")
41-
devtools::install_github("eliocamp/metR@dev")
41+
install.packages("metR", repos = c("https://eliocamp.github.io/metR/repo", getOption("repos")))
4242
```
4343

4444
If you need to read netcdf files, you might need to install the netcdf and udunits2 libraries. On Ubuntu and it's derivatives this can be done by typing

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,10 @@ You can install metR from CRAN with:
3939
install.packages("metR")
4040
```
4141

42-
Or the development version ([![Build
43-
Status](https://github.com/eliocamp/metR/workflows/R-CMD-check/badge.svg?branch=dev)](https://github.com/eliocamp/metR/actions?query=workflow%3AR-CMD-check))
44-
with:
42+
Or the development version with:
4543

4644
``` r
47-
# install.packages("devtools")
48-
devtools::install_github("eliocamp/metR@dev")
45+
install.packages("metR", repos = c("https://eliocamp.github.io/metR/repo", getOption("repos")))
4946
```
5047

5148
If you need to read netcdf files, you might need to install the netcdf
@@ -72,7 +69,7 @@ citation("metR")
7269
#> author = {Elio Campitelli},
7370
#> year = {2021},
7471
#> note = {R package version 0.14.1},
75-
#> url = {https://github.com/eliocamp/metR},
72+
#> url = {https://github.com/eliocamp/metR, https://eliocamp.github.io/metR/},
7673
#> doi = {10.5281/zenodo.2593516},
7774
#> }
7875
```

man/figures/field-1.png

-765 Bytes
Loading

man/figures/timeseries-1.png

331 Bytes
Loading

0 commit comments

Comments
 (0)