Skip to content

Commit

Permalink
Adds new installation
Browse files Browse the repository at this point in the history
  • Loading branch information
eliocamp committed Oct 30, 2023
1 parent a09e386 commit 35aa49a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ knitr::opts_chunk$set(
comment = "#>",
fig.path = "man/figures/"
)
set.seed(42)
```

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

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:
Or the development version with:

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

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
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,10 @@ You can install metR from CRAN with:
install.packages("metR")
```

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:
Or the development version with:

``` r
# install.packages("devtools")
devtools::install_github("eliocamp/metR@dev")
install.packages("metR", repos = c("https://eliocamp.github.io/metR/repo", getOption("repos")))
```

If you need to read netcdf files, you might need to install the netcdf
Expand All @@ -72,7 +69,7 @@ citation("metR")
#> author = {Elio Campitelli},
#> year = {2021},
#> note = {R package version 0.14.1},
#> url = {https://github.com/eliocamp/metR},
#> url = {https://github.com/eliocamp/metR, https://eliocamp.github.io/metR/},
#> doi = {10.5281/zenodo.2593516},
#> }
```
Expand Down
Binary file modified man/figures/field-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/timeseries-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 35aa49a

Please sign in to comment.