From 662e9738a22cefb4b6bf441b947d4a1c57bcca89 Mon Sep 17 00:00:00 2001 From: Egor Kotov Date: Mon, 16 Dec 2024 14:31:11 +0100 Subject: [PATCH] update install methods in readme --- README.md | 16 ++++++++++++++-- README.qmd | 19 +++++++++++++++++-- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2f2dafd..f5a8e7d 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,20 @@ API](https://www.mapineq.org/data-users/) and ## Installation -You can install the development version of `{mapineqr}` from -[GitHub](https://github.com/) with: + + +Install latest release from **R-multiverse**: + +``` r +install.packages('mapineqr', + repos = c('https://e-kotov.r-universe.dev', 'https://cloud.r-project.org') +) +``` + +You can also install the development version of `mapineqr` from GitHub: ``` r if (!require("pak")) install.packages("pak") diff --git a/README.qmd b/README.qmd index a7c6e47..1f64f51 100644 --- a/README.qmd +++ b/README.qmd @@ -24,9 +24,24 @@ The goal of `{mapineqr}` is to access the data from the [Mapineq.org API](https: ## Installation -You can install the development version of `{mapineqr}` from [GitHub](https://github.com/e-kotov/mapineqr) with: -``` r + + +Install latest release from **R-multiverse**: + +```r +install.packages('mapineqr', + repos = c('https://e-kotov.r-universe.dev', 'https://cloud.r-project.org') +) +``` + +You can also install the development version of `mapineqr` from GitHub: + +```r if (!require("pak")) install.packages("pak") pak::pak("e-kotov/mapineqr") ```