From 6f86d2629e762c128e17934d0a047d811963401b Mon Sep 17 00:00:00 2001 From: Ernest Guevarra Date: Wed, 13 Mar 2024 23:01:18 +0000 Subject: [PATCH] update README --- README.Rmd | 21 ++++++++++----------- README.md | 21 ++++++++++----------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/README.Rmd b/README.Rmd index e5dd78f..d508656 100644 --- a/README.Rmd +++ b/README.Rmd @@ -42,19 +42,18 @@ Currently, `okapi` provides functions to interface with two ODK-based systems: [ ## Installation - - -You can install the development version of `okapi` from [GitHub](https://github.com/rapidsurveys/okapi) with: +You can install `okapi` from the [RapidSurveys R Universe](https://rapidsurveys.r-universe.dev) with: -```{r install_github, eval = FALSE} -if(!require(remotes)) install.packages("remotes") -remotes::install_github("rapidsurveys/okapi") +```{r install, echo = TRUE, eval = FALSE} +install.packages( + "okapi", + repos = c( + 'https://rapidsurveys.r-universe.dev', + 'https://cloud.r-project.org' + ) +) ``` ## Usage diff --git a/README.md b/README.md index 398df36..b817241 100644 --- a/README.md +++ b/README.md @@ -45,20 +45,19 @@ current set of functions perform the following tasks: ## Installation - +`okapi` is not yet available on [CRAN](https://cran.r-project.org). -You can install the development version of `okapi` from -[GitHub](https://github.com/rapidsurveys/okapi) with: +You can install `okapi` from the [RapidSurveys R +Universe](https://rapidsurveys.r-universe.dev) with: ``` r -if(!require(remotes)) install.packages("remotes") -remotes::install_github("rapidsurveys/okapi") +install.packages( + "okapi", + repos = c( + 'https://rapidsurveys.r-universe.dev', + 'https://cloud.r-project.org' + ) +) ``` ## Usage